Files
0xbizkandLucas Nogueira d80b1be257 feat: add torch plugin for iOS and Android (#3551)
* feat(barcode-scanner): add torch toggle

* feat: torch plugin

* fix

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2026-10-13 05:37:04 -03:00

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>