tauri/examples/plugins/tauri-plugin-example/permissions/home-dir.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

11 lines
239 B
TOML

"$schema" = "schemas/schema.json"
[[permission]]
version = 1
identifier = "allow-home-dir"
description = "Allows read access to the complete $HOME folder."
commands.allow = ["readDirectory", "readFile"]
[[scope.allow]]
path = "$HOME/**"