# Automatically generated - DO NOT EDIT!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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