Skip to content

Commit 42d5b1e

Browse files
committed
fix: remove invalid permission identifiers and expand fs:scope for user directories
- Removed fs_exist_dir and fs_make_dir from capabilities as these are custom commands, not ACL permissions - Expanded fs:scope to include common user directories (C:\Users\vhbs, , System.Collections.Hashtable, , , , )
1 parent 4fb00ac commit 42d5b1e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src-tauri/capabilities/migrated.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"fs:allow-exists",
2323
{
2424
"identifier": "fs:scope",
25-
"allow": ["$RESOURCE/**", "binaries/**"]
25+
"allow": ["$RESOURCE/**", "binaries/**", "$HOME/**", "$APPDATA/**", "$CONFIG/**", "$DATA/**", "$DOWNLOAD/**", "$DESKTOP/**", "$DOCUMENT/**"]
2626
},
2727
"core:window:allow-create",
2828
"core:window:allow-center",
@@ -194,8 +194,6 @@
194194
"os:default",
195195
"dialog:default",
196196
"dialog:allow-open",
197-
"dialog:allow-save",
198-
"fs-exist-dir",
199-
"fs-make-dir"
197+
"dialog:allow-save"
200198
]
201199
}

0 commit comments

Comments
 (0)