mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
chore: update to tauri 3.0.0-alpha.9
autogenerated commands format changed, needed FS plugin small change
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
"$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-read-text-file-lines"
|
||||
description = "Enables the read_text_file_lines command without any pre-configured scope."
|
||||
commands.allow = [
|
||||
"read_text_file_lines",
|
||||
"read_text_file_lines_next",
|
||||
]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-read-text-file-lines"
|
||||
description = "Denies the read_text_file_lines command without any pre-configured scope."
|
||||
commands.deny = ["read_text_file_lines"]
|
||||
@@ -0,0 +1,18 @@
|
||||
"$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"]
|
||||
Reference in New Issue
Block a user