mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
`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.
17 lines
315 B
TOML
17 lines
315 B
TOML
"$schema" = "schemas/schema.json"
|
|
|
|
[[permission]]
|
|
identifier = "write-all"
|
|
description = "This enables all write related commands without any pre-configured accessible paths."
|
|
commands.allow = [
|
|
"mkdir",
|
|
"create",
|
|
"copy_file",
|
|
"remove",
|
|
"rename",
|
|
"truncate",
|
|
"ftruncate",
|
|
"write",
|
|
"write_file",
|
|
]
|