Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit754090c

Browse files
jakecastelliRafaelGSS
authored andcommitted
doc: add additional explanation to the wildcard section in permissions
Co-authored-by: Rafael Gonzaga <rafael.nunu@hotmail.com>PR-URL:#53664Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>Reviewed-By: James M Snell <jasnell@gmail.com>Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parentaa0c5c2 commit754090c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎doc/api/permissions.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,14 @@ Wildcards are supported too:
563563
After passing a wildcard character (`*`) all subsequent characters will
564564
be 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

568576
There are constraints you need to know before using this system:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp