mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-10 14:13:55 +02:00
82 lines
2.2 KiB
TOML
82 lines
2.2 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-runtime-recursive"
|
|
description = "This scope permits recursive access to the complete `$RUNTIME` folder, including sub directories and files."
|
|
|
|
[[permission.scope.allow]]
|
|
path = "$RUNTIME"
|
|
[[permission.scope.allow]]
|
|
path = "$RUNTIME/**"
|
|
|
|
[[permission]]
|
|
identifier = "scope-runtime"
|
|
description = "This scope permits access to all files and list content of top level directories in the `$RUNTIME` folder."
|
|
|
|
[[permission.scope.allow]]
|
|
path = "$RUNTIME"
|
|
[[permission.scope.allow]]
|
|
path = "$RUNTIME/*"
|
|
|
|
[[permission]]
|
|
identifier = "scope-runtime-index"
|
|
description = "This scope permits to list all files and folders in the `$RUNTIME`folder."
|
|
|
|
[[permission.scope.allow]]
|
|
path = "$RUNTIME"
|
|
|
|
# Sets Section
|
|
# This section combines the scope elements with enablement of commands
|
|
|
|
[[set]]
|
|
identifier = "allow-runtime-read-recursive"
|
|
description = "This allows full recursive read access to the complete `$RUNTIME` folder, files and subdirectories."
|
|
permissions = [
|
|
"read-all",
|
|
"scope-runtime-recursive"
|
|
]
|
|
|
|
[[set]]
|
|
identifier = "allow-runtime-write-recursive"
|
|
description = "This allows full recursive write access to the complete `$RUNTIME` folder, files and subdirectories."
|
|
permissions = [
|
|
"write-all",
|
|
"scope-runtime-recursive"
|
|
]
|
|
|
|
[[set]]
|
|
identifier = "allow-runtime-read"
|
|
description = "This allows non-recursive read access to the `$RUNTIME` folder."
|
|
permissions = [
|
|
"read-all",
|
|
"scope-runtime"
|
|
]
|
|
|
|
[[set]]
|
|
identifier = "allow-runtime-write"
|
|
description = "This allows non-recursive write access to the `$RUNTIME` folder."
|
|
permissions = [
|
|
"write-all",
|
|
"scope-runtime"
|
|
]
|
|
|
|
[[set]]
|
|
identifier = "allow-runtime-meta-recursive"
|
|
description = "This allows full recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics."
|
|
permissions = [
|
|
"read-meta",
|
|
"scope-runtime-recursive"
|
|
]
|
|
|
|
[[set]]
|
|
identifier = "allow-runtime-meta"
|
|
description = "This allows non-recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics."
|
|
permissions = [
|
|
"read-meta",
|
|
"scope-runtime-index"
|
|
] |