mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-24 17:20:51 +02:00
feat: update to tauri beta, add permissions (#862)
Co-authored-by: Lucas Nogueira <lucas@tauri.app> Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
schemas/
|
||||
@@ -0,0 +1 @@
|
||||
schemas/
|
||||
@@ -0,0 +1,13 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-fetch"
|
||||
description = "Enables the fetch command without any pre-configured scope."
|
||||
commands.allow = ["fetch"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-fetch"
|
||||
description = "Denies the fetch command without any pre-configured scope."
|
||||
commands.deny = ["fetch"]
|
||||
@@ -0,0 +1,13 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-fetch-cancel"
|
||||
description = "Enables the fetch_cancel command without any pre-configured scope."
|
||||
commands.allow = ["fetch_cancel"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-fetch-cancel"
|
||||
description = "Denies the fetch_cancel command without any pre-configured scope."
|
||||
commands.deny = ["fetch_cancel"]
|
||||
@@ -0,0 +1,13 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-fetch-read-body"
|
||||
description = "Enables the fetch_read_body command without any pre-configured scope."
|
||||
commands.allow = ["fetch_read_body"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-fetch-read-body"
|
||||
description = "Denies the fetch_read_body command without any pre-configured scope."
|
||||
commands.deny = ["fetch_read_body"]
|
||||
@@ -0,0 +1,13 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-fetch-send"
|
||||
description = "Enables the fetch_send command without any pre-configured scope."
|
||||
commands.allow = ["fetch_send"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-fetch-send"
|
||||
description = "Denies the fetch_send command without any pre-configured scope."
|
||||
commands.deny = ["fetch_send"]
|
||||
@@ -0,0 +1,38 @@
|
||||
# Permissions
|
||||
|
||||
## allow-fetch
|
||||
|
||||
Enables the fetch command without any pre-configured scope.
|
||||
|
||||
## deny-fetch
|
||||
|
||||
Denies the fetch command without any pre-configured scope.
|
||||
|
||||
## allow-fetch-cancel
|
||||
|
||||
Enables the fetch_cancel command without any pre-configured scope.
|
||||
|
||||
## deny-fetch-cancel
|
||||
|
||||
Denies the fetch_cancel command without any pre-configured scope.
|
||||
|
||||
## allow-fetch-read-body
|
||||
|
||||
Enables the fetch_read_body command without any pre-configured scope.
|
||||
|
||||
## deny-fetch-read-body
|
||||
|
||||
Denies the fetch_read_body command without any pre-configured scope.
|
||||
|
||||
## allow-fetch-send
|
||||
|
||||
Enables the fetch_send command without any pre-configured scope.
|
||||
|
||||
## deny-fetch-send
|
||||
|
||||
Denies the fetch_send command without any pre-configured scope.
|
||||
|
||||
## default
|
||||
|
||||
Allows all fetch operations
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
"$schema" = "schemas/schema.json"
|
||||
[default]
|
||||
description = "Allows all fetch operations"
|
||||
permissions = [
|
||||
"allow-fetch",
|
||||
"allow-fetch-cancel",
|
||||
"allow-fetch-read-body",
|
||||
"allow-fetch-send",
|
||||
]
|
||||
Reference in New Issue
Block a user