mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-20 23:11:24 +02:00
* feat(barcode-scanner): add torch toggle * feat: torch plugin * fix --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
157 lines
1.6 KiB
Markdown
157 lines
1.6 KiB
Markdown
## Default Permission
|
|
|
|
This permission set configures which
|
|
torch features are by default exposed.
|
|
|
|
#### Granted Permissions
|
|
|
|
It allows all torch related features.
|
|
|
|
#### This default permission set includes the following:
|
|
|
|
- `allow-disable`
|
|
- `allow-enable`
|
|
- `allow-is-available`
|
|
- `allow-is-enabled`
|
|
- `allow-toggle`
|
|
|
|
## Permission Table
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Identifier</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`torch:allow-disable`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the disable command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`torch:deny-disable`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the disable command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`torch:allow-enable`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the enable command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`torch:deny-enable`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the enable command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`torch:allow-is-available`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the is_available command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`torch:deny-is-available`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the is_available command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`torch:allow-is-enabled`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the is_enabled command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`torch:deny-is-enabled`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the is_enabled command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`torch:allow-toggle`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the toggle command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`torch:deny-toggle`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the toggle command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|