mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-30 17:48:50 +02:00
We could instead document that you should also enable `scope-*-index`, it is more a matter of semantics.
This commit is contained in:
+5
-1
@@ -111,6 +111,8 @@ fn main() {
|
||||
identifier = "scope-{lower}-recursive"
|
||||
description = "This scope permits recursive access to the complete `${upper}` folder, including sub directories and files."
|
||||
|
||||
[[permission.scope.allow]]
|
||||
path = "${upper}"
|
||||
[[permission.scope.allow]]
|
||||
path = "${upper}/**"
|
||||
|
||||
@@ -118,6 +120,8 @@ path = "${upper}/**"
|
||||
identifier = "scope-{lower}"
|
||||
description = "This scope permits access to all files and list content of top level directories in the `${upper}`folder."
|
||||
|
||||
[[permission.scope.allow]]
|
||||
path = "${upper}"
|
||||
[[permission.scope.allow]]
|
||||
path = "${upper}/*"
|
||||
|
||||
@@ -126,7 +130,7 @@ identifier = "scope-{lower}-index"
|
||||
description = "This scope permits to list all files and folders in the `${upper}`folder."
|
||||
|
||||
[[permission.scope.allow]]
|
||||
path = "${upper}/"
|
||||
path = "${upper}"
|
||||
|
||||
# Sets Section
|
||||
# This section combines the scope elements with enablement of commands
|
||||
|
||||
Reference in New Issue
Block a user