mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-07 12:26:41 +02:00
238 lines
2.3 KiB
Markdown
238 lines
2.3 KiB
Markdown
## Default Permission
|
|
|
|
This permission set configures which
|
|
operating system information are available
|
|
to gather from the frontend.
|
|
|
|
#### Granted Permissions
|
|
|
|
All information except the host name are available.
|
|
|
|
|
|
|
|
- `allow-arch`
|
|
- `allow-exe-extension`
|
|
- `allow-family`
|
|
- `allow-locale`
|
|
- `allow-os-type`
|
|
- `allow-platform`
|
|
- `allow-version`
|
|
|
|
## Permission Table
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Identifier</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:allow-arch`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the arch command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:deny-arch`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the arch command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:allow-exe-extension`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the exe_extension command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:deny-exe-extension`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the exe_extension command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:allow-family`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the family command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:deny-family`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the family command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:allow-hostname`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the hostname command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:deny-hostname`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the hostname command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:allow-locale`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the locale command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:deny-locale`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the locale command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:allow-os-type`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the os_type command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:deny-os-type`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the os_type command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:allow-platform`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the platform command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:deny-platform`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the platform command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:allow-version`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the version command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`os:deny-version`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the version command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|