feat(tauri-plugin): generate permissions reference markdown file for plugin (#8729)

* feat(acl): generate reference markdown file

* lint

* generate plugin docs instead
This commit is contained in:
Lucas Fernandes Nogueira
2024-02-01 17:14:23 -03:00
committed by GitHub
parent 7315189e76
commit 3e5c28ff4f
4 changed files with 81 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
# Permissions
## allow-ping
Enables the ping command without any pre-configured scope.
## deny-ping
Denies the ping command without any pre-configured scope.
## global-scope
Sets a global scope.
## allow-ping-scoped
Enables the ping command with a test scope.

View File

@@ -2120,6 +2120,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45a28f4c49489add4ce10783f7911893516f15afe45d015608d41faca6bc4d29"
dependencies = [
"dyn-clone",
"indexmap 1.9.3",
"schemars_derive",
"serde",
"serde_json",

View File

@@ -0,0 +1,22 @@
# Permissions
## deny-home-dir-config
Denies read access to the complete $HOME folder.
## allow-home-dir
Allows read access to the complete $HOME folder.
## allow-full-homefolder-access
Allows read and write access to the complete $HOME folder.
## deny-homefolder-config-access
Denies access to the $HOME/.config folder.
## default
Default permissions granted