Files
tauri-plugins-workspace/plugins/fs/permissions/write-files.toml
T
Lucas Fernandes Nogueira 5c077a3812 refactor(fs)!: remove read_text_file and write_text_file commands (#3605)
`readTextFile` and `writeTextFile` now go through `read_file` and
`write_file`, so the `allow-read-text-file`, `deny-read-text-file`,
`allow-write-text-file` and `deny-write-text-file` permissions are gone;
grant `fs:allow-read-file` and `fs:allow-write-file` instead.
2026-09-22 06:04:53 -03:00

16 lines
311 B
TOML

"$schema" = "schemas/schema.json"
[[permission]]
identifier = "write-files"
description = "This enables all file write related commands without any pre-configured accessible paths."
commands.allow = [
"create",
"copy_file",
"remove",
"rename",
"truncate",
"ftruncate",
"write",
"write_file",
]