GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: add additional explanation to the wildcard section in permissions · nodejs/node@fa58d01

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • permissions.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/permissions.md‎

Copy file name to clipboardExpand all lines: doc/api/permissions.md
+8Lines changed: 8 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.