mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-14 16:37:22 +02:00
d198c01486
Co-authored-by: Lucas Nogueira <lucas@tauri.app> Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
78 lines
2.0 KiB
TOML
78 lines
2.0 KiB
TOML
# Automatically generated - DO NOT EDIT!
|
|
|
|
"$schema" = "../../schemas/schema.json"
|
|
|
|
# Scopes Section
|
|
# This section contains scopes, which define file level access
|
|
|
|
[[permission]]
|
|
identifier = "scope-data-recursive"
|
|
description = "This scope recursive access to the complete `$DATA` folder, including sub directories and files."
|
|
|
|
[[permission.scope.allow]]
|
|
path = "$DATA/**"
|
|
|
|
[[permission]]
|
|
identifier = "scope-data"
|
|
description = "This scope permits access to all files and list content of top level directories in the `$DATA`folder."
|
|
|
|
[[permission.scope.allow]]
|
|
path = "$DATA/*"
|
|
|
|
[[permission]]
|
|
identifier = "scope-data-index"
|
|
description = "This scope permits to list all files and folders in the `$DATA`folder."
|
|
|
|
[[permission.scope.allow]]
|
|
path = "$DATA/"
|
|
|
|
# Sets Section
|
|
# This section combines the scope elements with enablement of commands
|
|
|
|
[[set]]
|
|
identifier = "allow-data-read-recursive"
|
|
description = "This allows full recursive read access to the complete `$DATA` folder, files and subdirectories."
|
|
permissions = [
|
|
"read-all",
|
|
"scope-data-recursive"
|
|
]
|
|
|
|
[[set]]
|
|
identifier = "allow-data-write-recursive"
|
|
description = "This allows full recusrive write access to the complete `$DATA` folder, files and subdirectories."
|
|
permissions = [
|
|
"write-all",
|
|
"scope-data-recursive"
|
|
]
|
|
|
|
[[set]]
|
|
identifier = "allow-data-read"
|
|
description = "This allows non-recursive read access to the `$DATA` folder."
|
|
permissions = [
|
|
"read-all",
|
|
"scope-data"
|
|
]
|
|
|
|
[[set]]
|
|
identifier = "allow-data-write"
|
|
description = "This allows non-recursive write access to the `$DATA` folder."
|
|
permissions = [
|
|
"write-all",
|
|
"scope-data"
|
|
]
|
|
|
|
[[set]]
|
|
identifier = "allow-data-meta-recursive"
|
|
description = "This allows read access to metadata of the `$DATA` folder, including file listing and statistics."
|
|
permissions = [
|
|
"read-meta",
|
|
"scope-data-recursive"
|
|
]
|
|
|
|
[[set]]
|
|
identifier = "allow-data-meta"
|
|
description = "This allows read access to metadata of the `$DATA` folder, including file listing and statistics."
|
|
permissions = [
|
|
"read-meta",
|
|
"scope-data-index"
|
|
] |