mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
chore(deps): update tauri monorepo (v2) (#1512)
* fix(deps): update tauri monorepo * Create tauri-beta-23.md * fix clippy - regen permissions * revert accidental cargo.toml change --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
This commit is contained in:
@@ -23,6 +23,6 @@
|
||||
"LICENSE"
|
||||
],
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "2.0.0-beta.13"
|
||||
"@tauri-apps/api": "2.0.0-beta.14"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,42 +1,453 @@
|
||||
| Permission | Description |
|
||||
|------|-----|
|
||||
|`allow-batch`|Enables the batch command without any pre-configured scope.|
|
||||
|`deny-batch`|Denies the batch command without any pre-configured scope.|
|
||||
|`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-create-channel`|Enables the create_channel command without any pre-configured scope.|
|
||||
|`deny-create-channel`|Denies the create_channel command without any pre-configured scope.|
|
||||
|`allow-delete-channel`|Enables the delete_channel command without any pre-configured scope.|
|
||||
|`deny-delete-channel`|Denies the delete_channel command without any pre-configured scope.|
|
||||
|`allow-get-active`|Enables the get_active command without any pre-configured scope.|
|
||||
|`deny-get-active`|Denies the get_active command without any pre-configured scope.|
|
||||
|`allow-get-pending`|Enables the get_pending command without any pre-configured scope.|
|
||||
|`deny-get-pending`|Denies the get_pending command without any pre-configured scope.|
|
||||
|`allow-is-permission-granted`|Enables the is_permission_granted command without any pre-configured scope.|
|
||||
|`deny-is-permission-granted`|Denies the is_permission_granted command without any pre-configured scope.|
|
||||
|`allow-list-channels`|Enables the list_channels command without any pre-configured scope.|
|
||||
|`deny-list-channels`|Denies the list_channels command without any pre-configured scope.|
|
||||
|`allow-notify`|Enables the notify command without any pre-configured scope.|
|
||||
|`deny-notify`|Denies the notify command without any pre-configured scope.|
|
||||
|`allow-permission-state`|Enables the permission_state command without any pre-configured scope.|
|
||||
|`deny-permission-state`|Denies the permission_state command without any pre-configured scope.|
|
||||
|`allow-register-action-types`|Enables the register_action_types command without any pre-configured scope.|
|
||||
|`deny-register-action-types`|Denies the register_action_types command without any pre-configured scope.|
|
||||
|`allow-register-listener`|Enables the register_listener command without any pre-configured scope.|
|
||||
|`deny-register-listener`|Denies the register_listener command without any pre-configured scope.|
|
||||
|`allow-remove-active`|Enables the remove_active command without any pre-configured scope.|
|
||||
|`deny-remove-active`|Denies the remove_active command without any pre-configured scope.|
|
||||
|`allow-request-permission`|Enables the request_permission command without any pre-configured scope.|
|
||||
|`deny-request-permission`|Denies the request_permission command without any pre-configured scope.|
|
||||
|`allow-show`|Enables the show command without any pre-configured scope.|
|
||||
|`deny-show`|Denies the show command without any pre-configured scope.|
|
||||
|`default`|This permission set configures which
|
||||
## Default Permission
|
||||
|
||||
This permission set configures which
|
||||
notification features are by default exposed.
|
||||
|
||||
#### Granted Permissions
|
||||
|
||||
It allows all notification related features.
|
||||
|
||||
|
|
||||
|
||||
|
||||
- `allow-is-permission-granted`
|
||||
- `allow-request-permission`
|
||||
- `allow-notify`
|
||||
- `allow-register-action-types`
|
||||
- `allow-register-listener`
|
||||
- `allow-cancel`
|
||||
- `allow-get-pending`
|
||||
- `allow-remove-active`
|
||||
- `allow-get-active`
|
||||
- `allow-check-permissions`
|
||||
- `allow-show`
|
||||
- `allow-batch`
|
||||
- `allow-list-channels`
|
||||
- `allow-delete-channel`
|
||||
- `allow-create-channel`
|
||||
- `allow-permission-state`
|
||||
|
||||
### Permission Table
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Identifier</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-batch`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the batch command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-batch`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the batch command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-cancel`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the cancel command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-cancel`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the cancel command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-check-permissions`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the check_permissions command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-check-permissions`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the check_permissions command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-create-channel`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the create_channel command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-create-channel`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the create_channel command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-delete-channel`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the delete_channel command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-delete-channel`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the delete_channel command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-get-active`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the get_active command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-get-active`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the get_active command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-get-pending`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the get_pending command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-get-pending`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the get_pending command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-is-permission-granted`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the is_permission_granted command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-is-permission-granted`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the is_permission_granted command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-list-channels`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the list_channels command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-list-channels`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the list_channels command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-notify`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the notify command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-notify`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the notify command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-permission-state`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the permission_state command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-permission-state`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the permission_state command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-register-action-types`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the register_action_types command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-register-action-types`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the register_action_types command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-register-listener`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the register_listener command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-register-listener`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the register_listener command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-remove-active`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the remove_active command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-remove-active`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the remove_active command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-request-permission`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the request_permission command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-request-permission`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the request_permission command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:allow-show`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the show command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`notification:deny-show`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the show command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
"minimum": 1.0
|
||||
},
|
||||
"description": {
|
||||
"description": "Human-readable description of what the permission does.",
|
||||
"description": "Human-readable description of what the permission does. Tauri convention is to use <h4> headings in markdown content for Tauri documentation generation purposes.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
@@ -111,7 +111,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"description": "Human-readable description of what the permission does.",
|
||||
"description": "Human-readable description of what the permission does. Tauri internal convention is to use <h4> headings in markdown content for Tauri documentation generation purposes.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
@@ -172,7 +172,7 @@
|
||||
}
|
||||
},
|
||||
"Scopes": {
|
||||
"description": "A restriction of the command/endpoint functionality.\n\nIt can be of any serde serializable type and is used for allowing or preventing certain actions inside a Tauri command.\n\nThe scope is passed to the command and handled/enforced by the command itself.",
|
||||
"description": "An argument for fine grained behavior control of Tauri commands.\n\nIt can be of any serde serializable type and is used to allow or prevent certain actions inside a Tauri command. The configured scope is passed to the command and will be enforced by the command implementation.\n\n## Example\n\n```json { \"allow\": [{ \"path\": \"$HOME/**\" }], \"deny\": [{ \"path\": \"$HOME/secret.txt\" }] } ```",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"allow": {
|
||||
@@ -186,7 +186,7 @@
|
||||
}
|
||||
},
|
||||
"deny": {
|
||||
"description": "Data that defines what is denied by the scope.",
|
||||
"description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
|
||||
Reference in New Issue
Block a user