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