tauri/examples/plugins/tauri-plugin-example/permissions/set.toml
Lucas Fernandes Nogueira 57e3d43d96
feat(acl): generate schema for scope (#8690)
* feat(acl): generate schema for scope

* allow plugin to define its global scope schema

* refactor to use schemas folder instead of individual files

* change signature

* delete .schema.json files
2024-01-29 13:36:31 -03:00

16 lines
472 B
TOML

"$schema" = "schemas/schema.json"
[default]
description = "Default permissions granted"
permissions = ["allow-home-read-only"]
[[set]]
identifier = "allow-full-homefolder-access"
description = "Allows read and write access to the complete $HOME folder."
permissions = ["allow-home-read-only", "allow-home-write-only"]
[[set]]
identifier = "deny-homefolder-config-access"
description = "Denies access to the $HOME/.config folder."
permissions = ["deny-home-dir-config"]