mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-29 13:31:27 +02:00
24154472a6
* chore(dialog): reuse `message` command for confirm * Add change file * Remove ask and confirm from default permissions * Format * Remove extra `toString` * Point `allow-confirm` to `allow-message`
155 lines
1.8 KiB
Markdown
155 lines
1.8 KiB
Markdown
## Default Permission
|
|
|
|
This permission set configures the types of dialogs
|
|
available from the dialog plugin.
|
|
|
|
#### Granted Permissions
|
|
|
|
All dialog types are enabled.
|
|
|
|
#### This default permission set includes the following:
|
|
|
|
- `allow-message`
|
|
- `allow-save`
|
|
- `allow-open`
|
|
|
|
## Permission Table
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Identifier</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`dialog:allow-ask`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`dialog:deny-ask`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`dialog:allow-message`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the message command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`dialog:deny-message`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the message command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`dialog:allow-open`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the open command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`dialog:deny-open`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the open command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`dialog:allow-save`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the save command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`dialog:deny-save`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the save command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`dialog:allow-confirm`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`dialog:deny-confirm`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|