mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-23 11:36:13 +02:00
68579934c9
closes #1843
132 lines
1.3 KiB
Markdown
132 lines
1.3 KiB
Markdown
## Default Permission
|
|
|
|
### Default Permissions
|
|
|
|
This permission set configures what kind of
|
|
database operations are available from the sql plugin.
|
|
|
|
### Granted Permissions
|
|
|
|
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>
|