mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
feat: update to tauri beta, add permissions (#862)
Co-authored-by: Lucas Nogueira <lucas@tauri.app> Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
This commit is contained in:
co-authored by
Lucas Nogueira
Lucas Nogueira
parent
506ce4835b
commit
d198c01486
@@ -0,0 +1,28 @@
|
||||
"$schema" = "schemas/schema.json"
|
||||
|
||||
[default]
|
||||
description = """
|
||||
# Tauri `fs` default permissions
|
||||
|
||||
This configuration file defines the default permissions granted
|
||||
to the filesystem.
|
||||
|
||||
### Granted Permissions
|
||||
|
||||
This default permission set enables all read-related commands and
|
||||
allows access to the `$APP` folder and sub directories created in it.
|
||||
The location of the `$APP` folder depends on the operating system,
|
||||
where the application is run.
|
||||
|
||||
In general the `$APP` folder needs to be manually created
|
||||
by the application at runtime, before accessing files or folders
|
||||
in it is possible.
|
||||
|
||||
### 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 = ["read-all", "scope-app-recursive", "deny-default"]
|
||||
Reference in New Issue
Block a user