Files
tauri-plugins-workspace/plugins/shell/permissions/autogenerated/reference.md
T
Lucas Fernandes NogueiraandLucas Nogueira 152ff5bb6d refactor(shell)!: remove deprecated open API (#3604)
* refactor(shell)!: remove deprecated open API

`open` has been deprecated since 2.1.0 in favor of tauri-plugin-opener.
This removes:

- the `open` command and its `allow-open`/`deny-open` permissions
  (`shell:default` now grants nothing)
- the `plugins > shell > open` configuration; `init()` returns
  `TauriPlugin<R>` again
- `Shell::open`, the `tauri_plugin_shell::open` module and
  `Error::UnknownProgramName`
- the `open` JavaScript function
- the Android and iOS plugins, since `open` was their only command

* chore(examples): drop the now empty shell:default permission set

---------

Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2026-09-22 06:14:49 -03:00

124 lines
1.3 KiB
Markdown

## Default Permission
This permission set configures which
shell functionality is exposed by default.
#### Granted Permissions
Nothing is granted by default. Spawning processes must be explicitly
allowed with a scope, see `allow-execute` and `allow-spawn`.
## 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-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>