mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +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:
@@ -24,6 +24,6 @@
|
||||
"LICENSE"
|
||||
],
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "2.0.0-beta.13"
|
||||
"@tauri-apps/api": "2.0.0-beta.14"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
| Permission | Description |
|
||||
|------|-----|
|
||||
|`allow-close`|Enables the close command without any pre-configured scope.|
|
||||
|`deny-close`|Denies the close command without any pre-configured scope.|
|
||||
|`allow-execute`|Enables the execute command without any pre-configured scope.|
|
||||
|`deny-execute`|Denies the execute command without any pre-configured scope.|
|
||||
|`allow-load`|Enables the load command without any pre-configured scope.|
|
||||
|`deny-load`|Denies the load command without any pre-configured scope.|
|
||||
|`allow-select`|Enables the select command without any pre-configured scope.|
|
||||
|`deny-select`|Denies the select command without any pre-configured scope.|
|
||||
|`default`|# Tauri SQL Default Permissions
|
||||
## Default Permission
|
||||
|
||||
# Tauri SQL Default Permissions
|
||||
|
||||
This permission set configures what kind of
|
||||
database operations are available from the sql plugin.
|
||||
@@ -18,4 +10,122 @@ database operations are available from the sql plugin.
|
||||
All reading related operations are enabled.
|
||||
Also allows to load or close a connection.
|
||||
|
||||
|
|
||||
|
||||
|
||||
- `allow-close`
|
||||
- `allow-load`
|
||||
- `allow-select`
|
||||
|
||||
### Permission Table
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Identifier</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`sql:allow-close`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the close command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`sql:deny-close`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the close command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`sql:allow-execute`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the execute command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`sql:deny-execute`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the execute command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`sql:allow-load`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the load command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`sql:deny-load`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the load command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`sql:allow-select`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the select command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`sql:deny-select`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the select 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