Files
tauri-plugins-workspace/plugins/fs/permissions/commands/write_file.toml
T
2026-09-21 21:56:40 -03:00

15 lines
532 B
TOML

"$schema" = "../schemas/schema.json"
# This command allows nested commands, so its permissions are manually
# authored here instead of being autogenerated from the `COMMANDS` list in `build.rs`.
[[permission]]
identifier = "allow-write-file"
description = "Enables the write_file command without any pre-configured scope."
commands.allow = ["write_file", "open", "write"]
[[permission]]
identifier = "deny-write-file"
description = "Denies the write_file command without any pre-configured scope."
commands.deny = ["write_file"]