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:
Tillmann
2024-02-04 03:14:41 +09:00
committed by GitHub
parent 506ce4835b
commit d198c01486
387 changed files with 21883 additions and 943 deletions
+1
View File
@@ -0,0 +1 @@
schemas/
+1
View File
@@ -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
+9
View File
@@ -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",
]