mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-29 12:06:01 +02:00
103 lines
1.2 KiB
Markdown
103 lines
1.2 KiB
Markdown
## Default Permission
|
|
|
|
This permission set configures what kind of
|
|
operations are available from the window state plugin.
|
|
|
|
#### Granted Permissions
|
|
|
|
All operations are enabled by default.
|
|
|
|
|
|
|
|
- `allow-filename`
|
|
- `allow-restore-state`
|
|
- `allow-save-window-state`
|
|
|
|
## Permission Table
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Identifier</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`window-state:allow-filename`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the filename command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`window-state:deny-filename`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the filename command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`window-state:allow-restore-state`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the restore_state command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`window-state:deny-restore-state`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the restore_state command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`window-state:allow-save-window-state`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the save_window_state command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`window-state:deny-save-window-state`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the save_window_state command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|