mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-29 13:31:27 +02:00
fix: Fix comp with latest beta (#1018)
* fix: Fix comp with latest beta * linux
This commit is contained in:
@@ -1,50 +1,14 @@
|
||||
# Permissions
|
||||
|
||||
## allow-cancel
|
||||
|
||||
Enables the cancel command without any pre-configured scope.
|
||||
|
||||
## deny-cancel
|
||||
|
||||
Denies the cancel command without any pre-configured scope.
|
||||
|
||||
## allow-check-permissions
|
||||
|
||||
Enables the check_permissions command without any pre-configured scope.
|
||||
|
||||
## deny-check-permissions
|
||||
|
||||
Denies the check_permissions command without any pre-configured scope.
|
||||
|
||||
## allow-open-app-settings
|
||||
|
||||
Enables the open_app_settings command without any pre-configured scope.
|
||||
|
||||
## deny-open-app-settings
|
||||
|
||||
Denies the open_app_settings command without any pre-configured scope.
|
||||
|
||||
## allow-request-permissions
|
||||
|
||||
Enables the request_permissions command without any pre-configured scope.
|
||||
|
||||
## deny-request-permissions
|
||||
|
||||
Denies the request_permissions command without any pre-configured scope.
|
||||
|
||||
## allow-scan
|
||||
|
||||
Enables the scan command without any pre-configured scope.
|
||||
|
||||
## deny-scan
|
||||
|
||||
Denies the scan command without any pre-configured scope.
|
||||
|
||||
## allow-vibrate
|
||||
|
||||
Enables the vibrate command without any pre-configured scope.
|
||||
|
||||
## deny-vibrate
|
||||
|
||||
Denies the vibrate command without any pre-configured scope.
|
||||
|
||||
| Permission | Description |
|
||||
|------|-----|
|
||||
|`allow-cancel`|Enables the cancel command without any pre-configured scope.|
|
||||
|`deny-cancel`|Denies the cancel command without any pre-configured scope.|
|
||||
|`allow-check-permissions`|Enables the check_permissions command without any pre-configured scope.|
|
||||
|`deny-check-permissions`|Denies the check_permissions command without any pre-configured scope.|
|
||||
|`allow-open-app-settings`|Enables the open_app_settings command without any pre-configured scope.|
|
||||
|`deny-open-app-settings`|Denies the open_app_settings command without any pre-configured scope.|
|
||||
|`allow-request-permissions`|Enables the request_permissions command without any pre-configured scope.|
|
||||
|`deny-request-permissions`|Denies the request_permissions command without any pre-configured scope.|
|
||||
|`allow-scan`|Enables the scan command without any pre-configured scope.|
|
||||
|`deny-scan`|Denies the scan command without any pre-configured scope.|
|
||||
|`allow-vibrate`|Enables the vibrate command without any pre-configured scope.|
|
||||
|`deny-vibrate`|Denies the vibrate command without any pre-configured scope.|
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
},
|
||||
"set": {
|
||||
"description": "A list of permissions sets defined",
|
||||
"default": [],
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/PermissionSet"
|
||||
@@ -132,12 +131,25 @@
|
||||
},
|
||||
"scope": {
|
||||
"description": "Allowed or denied scoped when using this permission.",
|
||||
"default": {},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/Scopes"
|
||||
}
|
||||
]
|
||||
},
|
||||
"platforms": {
|
||||
"description": "Target platforms this permission applies. By default all platforms are affected by this permission.",
|
||||
"default": [
|
||||
"linux",
|
||||
"macOS",
|
||||
"windows",
|
||||
"android",
|
||||
"iOS"
|
||||
],
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/Target"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -243,6 +255,46 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"Target": {
|
||||
"description": "Platform target.",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "MacOS.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"macOS"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Windows.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"windows"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Linux.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"linux"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Android.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"android"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "iOS.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"iOS"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"PermissionKind": {
|
||||
"type": "string",
|
||||
"oneOf": [
|
||||
|
||||
Reference in New Issue
Block a user