mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-25 23:01:09 -05:00
Merge branch 'main' into fix/plugin-network-permissions
This commit is contained in:
commit
54afdaf887
198 files changed
+7275
-1627
No files matched your search
@@ -635,6 +635,15 @@ report: filesystem paths for fs_read and fs_readwrite, URLs for network_http, so
|
||||
for network_socket, and commands for process. threading=True requests permission to start
|
||||
threads. Targets already granted to the plugin are not asked for again.
|
||||
|
||||
A filesystem target may end in "/*" to grant a whole directory tree, for example
|
||||
"/path/to/folder/*". That covers the folder itself and every path beneath it, at any depth.
|
||||
"*" is the only wildcard and is recognized only as the final path component; a "*" anywhere
|
||||
else in a target is an ordinary character. Wildcards apply to fs_read and fs_readwrite only,
|
||||
and a grant in one of those buckets never authorizes the other direction. Tree grants are
|
||||
matched on canonical paths, so a symlink below the granted folder does not extend the grant
|
||||
outside it. Paths the host denies by name or keyword stay denied even when a wildcard covers
|
||||
them.
|
||||
|
||||
`network` also lists http(s) URLs, but each is reduced to its scheme and host, so one grant covers
|
||||
every path, query and port on that host and also authorizes raw socket events for it. The host
|
||||
presents one request to the user after register_capabilities() returns and before any capability
|
||||
|
||||
Reference in new issue
Block a user