# Automatically generated - DO NOT EDIT!

"$schema" = "../../schemas/schema.json"

# Scopes Section
# This section contains scopes, which define file level access

[[permission]]
identifier = "scope-appdata-recursive"
description = "This scope permits recursive access to the complete `$APPDATA` folder, including sub directories and files."

[[permission.scope.allow]]
path = "$APPDATA"
[[permission.scope.allow]]
path = "$APPDATA/**"

[[permission]]
identifier = "scope-appdata"
description = "This scope permits access to all files and list content of top level directories in the `$APPDATA` folder."

[[permission.scope.allow]]
path = "$APPDATA"
[[permission.scope.allow]]
path = "$APPDATA/*"

[[permission]]
identifier = "scope-appdata-index"
description = "This scope permits to list all files and folders in the `$APPDATA`folder."

[[permission.scope.allow]]
path = "$APPDATA"

# Sets Section
# This section combines the scope elements with enablement of commands

[[set]]
identifier = "allow-appdata-read-recursive"
description = "This allows full recursive read access to the complete `$APPDATA` folder, files and subdirectories."
permissions = [
    "read-all",
    "scope-appdata-recursive"
]

[[set]]
identifier = "allow-appdata-write-recursive"
description = "This allows full recursive write access to the complete `$APPDATA` folder, files and subdirectories."
permissions = [
    "write-all",
    "scope-appdata-recursive"
]

[[set]]
identifier = "allow-appdata-read"
description = "This allows non-recursive read access to the `$APPDATA` folder."
permissions = [
    "read-all",
    "scope-appdata"
]

[[set]]
identifier = "allow-appdata-write"
description = "This allows non-recursive write access to the `$APPDATA` folder."
permissions = [
    "write-all",
    "scope-appdata"
]

[[set]]
identifier = "allow-appdata-meta-recursive"
description = "This allows full recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics."
permissions = [
    "read-meta",
    "scope-appdata-recursive"
]

[[set]]
identifier = "allow-appdata-meta"
description = "This allows non-recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics."
permissions = [
    "read-meta",
    "scope-appdata-index"
]