Files
tauri-plugins-workspace/plugins/shell/permissions/autogenerated/reference.md
T
Tillmann 9cf0390a52 Merge commit from fork
* fix(shell): properly validate open scope

* change empty regex to an impossible match

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Chip Reed <chip@chip.sh>
2025-04-02 00:24:25 -03:00

156 lines
1.6 KiB
Markdown

## Default Permission
This permission set configures which
shell functionality is exposed by default.
#### Granted Permissions
It allows to use the `open` functionality with a reasonable
scope pre-configured. It will allow opening `http(s)://`,
`tel:` and `mailto:` links.
#### This default permission set includes the following:
- `allow-open`
## Permission Table
<table>
<tr>
<th>Identifier</th>
<th>Description</th>
</tr>
<tr>
<td>
`shell:allow-execute`
</td>
<td>
Enables the execute command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`shell:deny-execute`
</td>
<td>
Denies the execute command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`shell:allow-kill`
</td>
<td>
Enables the kill command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`shell:deny-kill`
</td>
<td>
Denies the kill command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`shell:allow-open`
</td>
<td>
Enables the open command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`shell:deny-open`
</td>
<td>
Denies the open command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`shell:allow-spawn`
</td>
<td>
Enables the spawn command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`shell:deny-spawn`
</td>
<td>
Denies the spawn command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`shell:allow-stdin-write`
</td>
<td>
Enables the stdin_write command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`shell:deny-stdin-write`
</td>
<td>
Denies the stdin_write command without any pre-configured scope.
</td>
</tr>
</table>