mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
Preferences > General gets a Script File Access section after Show External Script Warning. It reads script.grants and shows one row for each script and path, grouped by script, with the widest access any kept version has (read file, read and write file, or read and write folder). Revoke runs script.grants.revoke for that script and path, which removes every kept version of the pair, so the next run asks again. The list is read again after a revoke, the keyboard focus moves to the row now in that place, and the status bar says whether anything was removed or shows the command's error. Paths and script names show control and bidirectional formatting characters as escapes and are cut at 1,024 characters. A grants file that is not well formed or is larger than 4 MiB makes Revoke show the error and leaves the file as it was. Without a settings folder, and on the web, the section is not shown. The rows are drawn only where they are in view, so a long list stays fast.