mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
fix: Fix comp with latest beta (#1018)
* fix: Fix comp with latest beta * linux
This commit is contained in:
@@ -1,66 +1,18 @@
|
||||
# Permissions
|
||||
|
||||
## allow-arch
|
||||
|
||||
Enables the arch command without any pre-configured scope.
|
||||
|
||||
## deny-arch
|
||||
|
||||
Denies the arch command without any pre-configured scope.
|
||||
|
||||
## allow-exe-extension
|
||||
|
||||
Enables the exe_extension command without any pre-configured scope.
|
||||
|
||||
## deny-exe-extension
|
||||
|
||||
Denies the exe_extension command without any pre-configured scope.
|
||||
|
||||
## allow-family
|
||||
|
||||
Enables the family command without any pre-configured scope.
|
||||
|
||||
## deny-family
|
||||
|
||||
Denies the family command without any pre-configured scope.
|
||||
|
||||
## allow-hostname
|
||||
|
||||
Enables the hostname command without any pre-configured scope.
|
||||
|
||||
## deny-hostname
|
||||
|
||||
Denies the hostname command without any pre-configured scope.
|
||||
|
||||
## allow-locale
|
||||
|
||||
Enables the locale command without any pre-configured scope.
|
||||
|
||||
## deny-locale
|
||||
|
||||
Denies the locale command without any pre-configured scope.
|
||||
|
||||
## allow-os-type
|
||||
|
||||
Enables the os_type command without any pre-configured scope.
|
||||
|
||||
## deny-os-type
|
||||
|
||||
Denies the os_type command without any pre-configured scope.
|
||||
|
||||
## allow-platform
|
||||
|
||||
Enables the platform command without any pre-configured scope.
|
||||
|
||||
## deny-platform
|
||||
|
||||
Denies the platform command without any pre-configured scope.
|
||||
|
||||
## allow-version
|
||||
|
||||
Enables the version command without any pre-configured scope.
|
||||
|
||||
## deny-version
|
||||
|
||||
Denies the version command without any pre-configured scope.
|
||||
|
||||
| Permission | Description |
|
||||
|------|-----|
|
||||
|`allow-arch`|Enables the arch command without any pre-configured scope.|
|
||||
|`deny-arch`|Denies the arch command without any pre-configured scope.|
|
||||
|`allow-exe-extension`|Enables the exe_extension command without any pre-configured scope.|
|
||||
|`deny-exe-extension`|Denies the exe_extension command without any pre-configured scope.|
|
||||
|`allow-family`|Enables the family command without any pre-configured scope.|
|
||||
|`deny-family`|Denies the family command without any pre-configured scope.|
|
||||
|`allow-hostname`|Enables the hostname command without any pre-configured scope.|
|
||||
|`deny-hostname`|Denies the hostname command without any pre-configured scope.|
|
||||
|`allow-locale`|Enables the locale command without any pre-configured scope.|
|
||||
|`deny-locale`|Denies the locale command without any pre-configured scope.|
|
||||
|`allow-os-type`|Enables the os_type command without any pre-configured scope.|
|
||||
|`deny-os-type`|Denies the os_type command without any pre-configured scope.|
|
||||
|`allow-platform`|Enables the platform command without any pre-configured scope.|
|
||||
|`deny-platform`|Denies the platform command without any pre-configured scope.|
|
||||
|`allow-version`|Enables the version command without any pre-configured scope.|
|
||||
|`deny-version`|Denies the version 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