mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
feat(fs): support ReadableStream<Unit8Array> for writeFile API (#1964)
This commit is contained in:
@@ -5,9 +5,18 @@
|
||||
[[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"]
|
||||
|
||||
[permission.commands]
|
||||
allow = [
|
||||
"read_text_file_lines",
|
||||
"read_text_file_lines_next",
|
||||
]
|
||||
deny = []
|
||||
|
||||
[[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"]
|
||||
|
||||
[permission.commands]
|
||||
allow = []
|
||||
deny = ["read_text_file_lines"]
|
||||
|
||||
@@ -5,9 +5,19 @@
|
||||
[[permission]]
|
||||
identifier = "allow-write-file"
|
||||
description = "Enables the write_file command without any pre-configured scope."
|
||||
commands.allow = ["write_file"]
|
||||
|
||||
[permission.commands]
|
||||
allow = [
|
||||
"write_file",
|
||||
"open",
|
||||
"write",
|
||||
]
|
||||
deny = []
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-write-file"
|
||||
description = "Denies the write_file command without any pre-configured scope."
|
||||
commands.deny = ["write_file"]
|
||||
|
||||
[permission.commands]
|
||||
allow = []
|
||||
deny = ["write_file"]
|
||||
|
||||
Reference in New Issue
Block a user