mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-24 17:20:51 +02:00
Feat: Add default permissions to most plugins (#1460)
* Add default permissions to most plugins. Co-authored-by: chippers <chip@chip.sh> Co-authored-by: fabianlars <fabianlars@fabianlars.de> * updated default description * mobile plugin relevant changes --------- Co-authored-by: chippers <chip@chip.sh> Co-authored-by: fabianlars <fabianlars@fabianlars.de>
This commit is contained in:
@@ -8,4 +8,12 @@
|
||||
|`deny-download-and-install`|Denies the download_and_install command without any pre-configured scope.|
|
||||
|`allow-install`|Enables the install command without any pre-configured scope.|
|
||||
|`deny-install`|Denies the install command without any pre-configured scope.|
|
||||
|`default`|Allows checking for new updates and installing them|
|
||||
|`default`|This permission set configures which kind of
|
||||
updater functions are exposed to the frontend.
|
||||
|
||||
#### Granted Permissions
|
||||
|
||||
The full workflow from checking for updates to installing them
|
||||
is enabled.
|
||||
|
||||
|
|
||||
|
||||
@@ -1,6 +1,15 @@
|
||||
"$schema" = "schemas/schema.json"
|
||||
[default]
|
||||
description = "Allows checking for new updates and installing them"
|
||||
description = """
|
||||
This permission set configures which kind of
|
||||
updater functions are exposed to the frontend.
|
||||
|
||||
#### Granted Permissions
|
||||
|
||||
The full workflow from checking for updates to installing them
|
||||
is enabled.
|
||||
|
||||
"""
|
||||
permissions = [
|
||||
"allow-check",
|
||||
"allow-download",
|
||||
|
||||
@@ -351,7 +351,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "default -> Allows checking for new updates and installing them",
|
||||
"description": "default -> This permission set configures which kind of\nupdater functions are exposed to the frontend.\n\n#### Granted Permissions\n\nThe full workflow from checking for updates to installing them\nis enabled.\n\n",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"default"
|
||||
|
||||
Reference in New Issue
Block a user