mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-08-21 19:27:17 +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:
co-authored by
chippers
fabianlars
parent
f1372adc9d
commit
0cb1baf09a
@@ -10,3 +10,8 @@
|
||||
|`deny-unregister`|Denies the unregister command without any pre-configured scope.|
|
||||
|`allow-unregister-all`|Enables the unregister_all command without any pre-configured scope.|
|
||||
|`deny-unregister-all`|Denies the unregister_all command without any pre-configured scope.|
|
||||
|`default`|No features are enabled by default, as we believe
|
||||
the shortcuts can be inherently dangerous and it is
|
||||
application specific if specific shortcuts should be
|
||||
registered or unregistered.
|
||||
|
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
"$schema" = "schemas/schema.json"
|
||||
[default]
|
||||
description = """
|
||||
No features are enabled by default, as we believe
|
||||
the shortcuts can be inherently dangerous and it is
|
||||
application specific if specific shortcuts should be
|
||||
registered or unregistered.
|
||||
"""
|
||||
|
||||
permissions = []
|
||||
@@ -363,6 +363,13 @@
|
||||
"enum": [
|
||||
"deny-unregister-all"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "default -> No features are enabled by default, as we believe\nthe shortcuts can be inherently dangerous and it is \napplication specific if specific shortcuts should be\nregistered or unregistered.\n",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"default"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user