mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-23 11:36:13 +02:00
0cb1baf09a
* Add default permissions to most plugins. Co-authored-by: chippers <chip@chip.sh> Co-authored-by: fabianlars <fabianlars@fabianlars.de> * updated default description * mobile plugin relevant changes --------- Co-authored-by: chippers <chip@chip.sh> Co-authored-by: fabianlars <fabianlars@fabianlars.de>
35 lines
1.0 KiB
TOML
35 lines
1.0 KiB
TOML
"$schema" = "schemas/schema.json"
|
|
|
|
[default]
|
|
description = """
|
|
This set of permissions describes the what kind of
|
|
file system access the `fs` plugin has enabled or denied by default.
|
|
|
|
#### Granted Permissions
|
|
|
|
This default permission set enables read access to the
|
|
application specific directories (AppConfig, AppData, AppLocalData, AppCache,
|
|
AppLog) and all files and sub directories created in it.
|
|
The location of these directories depends on the operating system,
|
|
where the application is run.
|
|
|
|
In general these directories need to be manually created
|
|
by the application at runtime, before accessing files or folders
|
|
in it is possible.
|
|
|
|
Therefore, it is also allowed to create all of these folders via
|
|
the `mkdir` command.
|
|
|
|
#### Denied Permissions
|
|
|
|
This default permission set prevents access to critical components
|
|
of the Tauri application by default.
|
|
On Windows the webview data folder access is denied.
|
|
|
|
"""
|
|
permissions = [
|
|
"create-app-specific-dirs",
|
|
"read-app-specific-dirs-recursive",
|
|
"deny-default",
|
|
]
|