mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-26 21:41:48 +02:00
fix: Fix comp with latest beta (#1018)
* fix: Fix comp with latest beta * linux
This commit is contained in:
@@ -1,90 +1,24 @@
|
||||
# Permissions
|
||||
|
||||
## allow-create-client
|
||||
|
||||
Enables the create_client command without any pre-configured scope.
|
||||
|
||||
## deny-create-client
|
||||
|
||||
Denies the create_client command without any pre-configured scope.
|
||||
|
||||
## allow-destroy
|
||||
|
||||
Enables the destroy command without any pre-configured scope.
|
||||
|
||||
## deny-destroy
|
||||
|
||||
Denies the destroy command without any pre-configured scope.
|
||||
|
||||
## allow-execute-procedure
|
||||
|
||||
Enables the execute_procedure command without any pre-configured scope.
|
||||
|
||||
## deny-execute-procedure
|
||||
|
||||
Denies the execute_procedure command without any pre-configured scope.
|
||||
|
||||
## allow-get-store-record
|
||||
|
||||
Enables the get_store_record command without any pre-configured scope.
|
||||
|
||||
## deny-get-store-record
|
||||
|
||||
Denies the get_store_record command without any pre-configured scope.
|
||||
|
||||
## allow-initialize
|
||||
|
||||
Enables the initialize command without any pre-configured scope.
|
||||
|
||||
## deny-initialize
|
||||
|
||||
Denies the initialize command without any pre-configured scope.
|
||||
|
||||
## allow-load-client
|
||||
|
||||
Enables the load_client command without any pre-configured scope.
|
||||
|
||||
## deny-load-client
|
||||
|
||||
Denies the load_client command without any pre-configured scope.
|
||||
|
||||
## allow-remove-secret
|
||||
|
||||
Enables the remove_secret command without any pre-configured scope.
|
||||
|
||||
## deny-remove-secret
|
||||
|
||||
Denies the remove_secret command without any pre-configured scope.
|
||||
|
||||
## allow-remove-store-record
|
||||
|
||||
Enables the remove_store_record command without any pre-configured scope.
|
||||
|
||||
## deny-remove-store-record
|
||||
|
||||
Denies the remove_store_record command without any pre-configured scope.
|
||||
|
||||
## allow-save
|
||||
|
||||
Enables the save command without any pre-configured scope.
|
||||
|
||||
## deny-save
|
||||
|
||||
Denies the save command without any pre-configured scope.
|
||||
|
||||
## allow-save-secret
|
||||
|
||||
Enables the save_secret command without any pre-configured scope.
|
||||
|
||||
## deny-save-secret
|
||||
|
||||
Denies the save_secret command without any pre-configured scope.
|
||||
|
||||
## allow-save-store-record
|
||||
|
||||
Enables the save_store_record command without any pre-configured scope.
|
||||
|
||||
## deny-save-store-record
|
||||
|
||||
Denies the save_store_record command without any pre-configured scope.
|
||||
|
||||
| Permission | Description |
|
||||
|------|-----|
|
||||
|`allow-create-client`|Enables the create_client command without any pre-configured scope.|
|
||||
|`deny-create-client`|Denies the create_client command without any pre-configured scope.|
|
||||
|`allow-destroy`|Enables the destroy command without any pre-configured scope.|
|
||||
|`deny-destroy`|Denies the destroy command without any pre-configured scope.|
|
||||
|`allow-execute-procedure`|Enables the execute_procedure command without any pre-configured scope.|
|
||||
|`deny-execute-procedure`|Denies the execute_procedure command without any pre-configured scope.|
|
||||
|`allow-get-store-record`|Enables the get_store_record command without any pre-configured scope.|
|
||||
|`deny-get-store-record`|Denies the get_store_record command without any pre-configured scope.|
|
||||
|`allow-initialize`|Enables the initialize command without any pre-configured scope.|
|
||||
|`deny-initialize`|Denies the initialize command without any pre-configured scope.|
|
||||
|`allow-load-client`|Enables the load_client command without any pre-configured scope.|
|
||||
|`deny-load-client`|Denies the load_client command without any pre-configured scope.|
|
||||
|`allow-remove-secret`|Enables the remove_secret command without any pre-configured scope.|
|
||||
|`deny-remove-secret`|Denies the remove_secret command without any pre-configured scope.|
|
||||
|`allow-remove-store-record`|Enables the remove_store_record command without any pre-configured scope.|
|
||||
|`deny-remove-store-record`|Denies the remove_store_record command without any pre-configured scope.|
|
||||
|`allow-save`|Enables the save command without any pre-configured scope.|
|
||||
|`deny-save`|Denies the save command without any pre-configured scope.|
|
||||
|`allow-save-secret`|Enables the save_secret command without any pre-configured scope.|
|
||||
|`deny-save-secret`|Denies the save_secret command without any pre-configured scope.|
|
||||
|`allow-save-store-record`|Enables the save_store_record command without any pre-configured scope.|
|
||||
|`deny-save-store-record`|Denies the save_store_record 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