|
1400 | 1400 | "markdownDescription": "This enables all index or metadata related commands without any pre-configured accessible paths." |
1401 | 1401 | }, |
1402 | 1402 | { |
1403 | | - "description": "An empty permission you can use to modify the global scope.", |
| 1403 | + "description": "An empty permission you can use to modify the global scope.\n\n## Example\n\n```json\n{\n \"identifier\": \"read-documents\",\n \"windows\": [\"main\"],\n \"permissions\": [\n \"fs:allow-read\",\n {\n \"identifier\": \"fs:scope\",\n \"allow\": [\n \"$APPDATA/documents/**/*\"\n ],\n \"deny\": [\n \"$APPDATA/documents/secret.txt\"\n ]\n }\n ]\n}\n```\n", |
1404 | 1404 | "type": "string", |
1405 | 1405 | "const": "fs:scope", |
1406 | | - "markdownDescription": "An empty permission you can use to modify the global scope." |
| 1406 | + "markdownDescription": "An empty permission you can use to modify the global scope.\n\n## Example\n\n```json\n{\n \"identifier\": \"read-documents\",\n \"windows\": [\"main\"],\n \"permissions\": [\n \"fs:allow-read\",\n {\n \"identifier\": \"fs:scope\",\n \"allow\": [\n \"$APPDATA/documents/**/*\"\n ],\n \"deny\": [\n \"$APPDATA/documents/secret.txt\"\n ]\n }\n ]\n}\n```\n" |
1407 | 1407 | }, |
1408 | 1408 | { |
1409 | 1409 | "description": "This scope permits access to all files and list content of top level directories in the application folders.", |
|
1983 | 1983 | "markdownDescription": "Default core plugins set.\n#### This default permission set includes:\n\n- `core:path:default`\n- `core:event:default`\n- `core:window:default`\n- `core:webview:default`\n- `core:app:default`\n- `core:image:default`\n- `core:resources:default`\n- `core:menu:default`\n- `core:tray:default`" |
1984 | 1984 | }, |
1985 | 1985 | { |
1986 | | - "description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`", |
| 1986 | + "description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`\n- `allow-bundle-type`\n- `allow-register-listener`\n- `allow-remove-listener`", |
1987 | 1987 | "type": "string", |
1988 | 1988 | "const": "core:app:default", |
1989 | | - "markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`" |
| 1989 | + "markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`\n- `allow-bundle-type`\n- `allow-register-listener`\n- `allow-remove-listener`" |
1990 | 1990 | }, |
1991 | 1991 | { |
1992 | 1992 | "description": "Enables the app_hide command without any pre-configured scope.", |
|
2000 | 2000 | "const": "core:app:allow-app-show", |
2001 | 2001 | "markdownDescription": "Enables the app_show command without any pre-configured scope." |
2002 | 2002 | }, |
| 2003 | + { |
| 2004 | + "description": "Enables the bundle_type command without any pre-configured scope.", |
| 2005 | + "type": "string", |
| 2006 | + "const": "core:app:allow-bundle-type", |
| 2007 | + "markdownDescription": "Enables the bundle_type command without any pre-configured scope." |
| 2008 | + }, |
2003 | 2009 | { |
2004 | 2010 | "description": "Enables the default_window_icon command without any pre-configured scope.", |
2005 | 2011 | "type": "string", |
|
2024 | 2030 | "const": "core:app:allow-name", |
2025 | 2031 | "markdownDescription": "Enables the name command without any pre-configured scope." |
2026 | 2032 | }, |
| 2033 | + { |
| 2034 | + "description": "Enables the register_listener command without any pre-configured scope.", |
| 2035 | + "type": "string", |
| 2036 | + "const": "core:app:allow-register-listener", |
| 2037 | + "markdownDescription": "Enables the register_listener command without any pre-configured scope." |
| 2038 | + }, |
2027 | 2039 | { |
2028 | 2040 | "description": "Enables the remove_data_store command without any pre-configured scope.", |
2029 | 2041 | "type": "string", |
2030 | 2042 | "const": "core:app:allow-remove-data-store", |
2031 | 2043 | "markdownDescription": "Enables the remove_data_store command without any pre-configured scope." |
2032 | 2044 | }, |
| 2045 | + { |
| 2046 | + "description": "Enables the remove_listener command without any pre-configured scope.", |
| 2047 | + "type": "string", |
| 2048 | + "const": "core:app:allow-remove-listener", |
| 2049 | + "markdownDescription": "Enables the remove_listener command without any pre-configured scope." |
| 2050 | + }, |
2033 | 2051 | { |
2034 | 2052 | "description": "Enables the set_app_theme command without any pre-configured scope.", |
2035 | 2053 | "type": "string", |
|
2066 | 2084 | "const": "core:app:deny-app-show", |
2067 | 2085 | "markdownDescription": "Denies the app_show command without any pre-configured scope." |
2068 | 2086 | }, |
| 2087 | + { |
| 2088 | + "description": "Denies the bundle_type command without any pre-configured scope.", |
| 2089 | + "type": "string", |
| 2090 | + "const": "core:app:deny-bundle-type", |
| 2091 | + "markdownDescription": "Denies the bundle_type command without any pre-configured scope." |
| 2092 | + }, |
2069 | 2093 | { |
2070 | 2094 | "description": "Denies the default_window_icon command without any pre-configured scope.", |
2071 | 2095 | "type": "string", |
|
2090 | 2114 | "const": "core:app:deny-name", |
2091 | 2115 | "markdownDescription": "Denies the name command without any pre-configured scope." |
2092 | 2116 | }, |
| 2117 | + { |
| 2118 | + "description": "Denies the register_listener command without any pre-configured scope.", |
| 2119 | + "type": "string", |
| 2120 | + "const": "core:app:deny-register-listener", |
| 2121 | + "markdownDescription": "Denies the register_listener command without any pre-configured scope." |
| 2122 | + }, |
2093 | 2123 | { |
2094 | 2124 | "description": "Denies the remove_data_store command without any pre-configured scope.", |
2095 | 2125 | "type": "string", |
2096 | 2126 | "const": "core:app:deny-remove-data-store", |
2097 | 2127 | "markdownDescription": "Denies the remove_data_store command without any pre-configured scope." |
2098 | 2128 | }, |
| 2129 | + { |
| 2130 | + "description": "Denies the remove_listener command without any pre-configured scope.", |
| 2131 | + "type": "string", |
| 2132 | + "const": "core:app:deny-remove-listener", |
| 2133 | + "markdownDescription": "Denies the remove_listener command without any pre-configured scope." |
| 2134 | + }, |
2099 | 2135 | { |
2100 | 2136 | "description": "Denies the set_app_theme command without any pre-configured scope.", |
2101 | 2137 | "type": "string", |
|
3278 | 3314 | "const": "core:window:allow-set-focus", |
3279 | 3315 | "markdownDescription": "Enables the set_focus command without any pre-configured scope." |
3280 | 3316 | }, |
| 3317 | + { |
| 3318 | + "description": "Enables the set_focusable command without any pre-configured scope.", |
| 3319 | + "type": "string", |
| 3320 | + "const": "core:window:allow-set-focusable", |
| 3321 | + "markdownDescription": "Enables the set_focusable command without any pre-configured scope." |
| 3322 | + }, |
3281 | 3323 | { |
3282 | 3324 | "description": "Enables the set_fullscreen command without any pre-configured scope.", |
3283 | 3325 | "type": "string", |
|
3350 | 3392 | "const": "core:window:allow-set-shadow", |
3351 | 3393 | "markdownDescription": "Enables the set_shadow command without any pre-configured scope." |
3352 | 3394 | }, |
| 3395 | + { |
| 3396 | + "description": "Enables the set_simple_fullscreen command without any pre-configured scope.", |
| 3397 | + "type": "string", |
| 3398 | + "const": "core:window:allow-set-simple-fullscreen", |
| 3399 | + "markdownDescription": "Enables the set_simple_fullscreen command without any pre-configured scope." |
| 3400 | + }, |
3353 | 3401 | { |
3354 | 3402 | "description": "Enables the set_size command without any pre-configured scope.", |
3355 | 3403 | "type": "string", |
|
3722 | 3770 | "const": "core:window:deny-set-focus", |
3723 | 3771 | "markdownDescription": "Denies the set_focus command without any pre-configured scope." |
3724 | 3772 | }, |
| 3773 | + { |
| 3774 | + "description": "Denies the set_focusable command without any pre-configured scope.", |
| 3775 | + "type": "string", |
| 3776 | + "const": "core:window:deny-set-focusable", |
| 3777 | + "markdownDescription": "Denies the set_focusable command without any pre-configured scope." |
| 3778 | + }, |
3725 | 3779 | { |
3726 | 3780 | "description": "Denies the set_fullscreen command without any pre-configured scope.", |
3727 | 3781 | "type": "string", |
|
3794 | 3848 | "const": "core:window:deny-set-shadow", |
3795 | 3849 | "markdownDescription": "Denies the set_shadow command without any pre-configured scope." |
3796 | 3850 | }, |
| 3851 | + { |
| 3852 | + "description": "Denies the set_simple_fullscreen command without any pre-configured scope.", |
| 3853 | + "type": "string", |
| 3854 | + "const": "core:window:deny-set-simple-fullscreen", |
| 3855 | + "markdownDescription": "Denies the set_simple_fullscreen command without any pre-configured scope." |
| 3856 | + }, |
3797 | 3857 | { |
3798 | 3858 | "description": "Denies the set_size command without any pre-configured scope.", |
3799 | 3859 | "type": "string", |
|
5211 | 5271 | "markdownDescription": "This enables all index or metadata related commands without any pre-configured accessible paths." |
5212 | 5272 | }, |
5213 | 5273 | { |
5214 | | - "description": "An empty permission you can use to modify the global scope.", |
| 5274 | + "description": "An empty permission you can use to modify the global scope.\n\n## Example\n\n```json\n{\n \"identifier\": \"read-documents\",\n \"windows\": [\"main\"],\n \"permissions\": [\n \"fs:allow-read\",\n {\n \"identifier\": \"fs:scope\",\n \"allow\": [\n \"$APPDATA/documents/**/*\"\n ],\n \"deny\": [\n \"$APPDATA/documents/secret.txt\"\n ]\n }\n ]\n}\n```\n", |
5215 | 5275 | "type": "string", |
5216 | 5276 | "const": "fs:scope", |
5217 | | - "markdownDescription": "An empty permission you can use to modify the global scope." |
| 5277 | + "markdownDescription": "An empty permission you can use to modify the global scope.\n\n## Example\n\n```json\n{\n \"identifier\": \"read-documents\",\n \"windows\": [\"main\"],\n \"permissions\": [\n \"fs:allow-read\",\n {\n \"identifier\": \"fs:scope\",\n \"allow\": [\n \"$APPDATA/documents/**/*\"\n ],\n \"deny\": [\n \"$APPDATA/documents/secret.txt\"\n ]\n }\n ]\n}\n```\n" |
5218 | 5278 | }, |
5219 | 5279 | { |
5220 | 5280 | "description": "This scope permits access to all files and list content of top level directories in the application folders.", |
|
5677 | 5737 | "type": "string", |
5678 | 5738 | "const": "fs:write-files", |
5679 | 5739 | "markdownDescription": "This enables all file write related commands without any pre-configured accessible paths." |
| 5740 | + }, |
| 5741 | + { |
| 5742 | + "description": "Allows the log command\n#### This default permission set includes:\n\n- `allow-log`", |
| 5743 | + "type": "string", |
| 5744 | + "const": "log:default", |
| 5745 | + "markdownDescription": "Allows the log command\n#### This default permission set includes:\n\n- `allow-log`" |
| 5746 | + }, |
| 5747 | + { |
| 5748 | + "description": "Enables the log command without any pre-configured scope.", |
| 5749 | + "type": "string", |
| 5750 | + "const": "log:allow-log", |
| 5751 | + "markdownDescription": "Enables the log command without any pre-configured scope." |
| 5752 | + }, |
| 5753 | + { |
| 5754 | + "description": "Denies the log command without any pre-configured scope.", |
| 5755 | + "type": "string", |
| 5756 | + "const": "log:deny-log", |
| 5757 | + "markdownDescription": "Denies the log command without any pre-configured scope." |
5680 | 5758 | } |
5681 | 5759 | ] |
5682 | 5760 | }, |
|
0 commit comments