File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -563,6 +563,14 @@ Wildcards are supported too:
563563After passing a wildcard character (` * ` ) all subsequent characters will
564564be ignored. For example: ` /home/*.js ` will work similar to ` /home/* ` .
565565
566+ When the permission model is initialized, it will automatically add a wildcard
567+ (\* ) if the specified directory exists. For example, if ` /home/test/files `
568+ exists, it will be treated as ` /home/test/files/* ` . However, if the directory
569+ does not exist, the wildcard will not be added, and access will be limited to
570+ ` /home/test/files ` . If you want to allow access to a folder that does not exist
571+ yet, make sure to explicitly include the wildcard:
572+ ` /my-path/folder-do-not-exist/* ` .
573+
566574#### Permission Model constraints
567575
568576There are constraints you need to know before using this system:
You can’t perform that action at this time.
0 commit comments