Skip to content

Commit 81e4d2e

Browse files
authoredOct 8, 2023
doc: mention files read before env setup
PR-URL: #50072 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 0ce37ed commit 81e4d2e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎doc/api/permissions.md

+4
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,10 @@ There are constraints you need to know before using this system:
576576
* When creating symlinks the target (first argument) should have read and
577577
write access.
578578
* Permission changes are not retroactively applied to existing resources.
579+
* The Permission Model is initialized after the Node.js environment is set up.
580+
However, certain flags such as `--env-file` or `--openssl-config` are designed
581+
to read files before environment initialization. As a result, such flags are
582+
not subject to the rules of the Permission Model.
579583

580584
[Import maps]: https://url.spec.whatwg.org/#relative-url-with-fragment-string
581585
[Security Policy]: https://github.com/nodejs/node/blob/main/SECURITY.md

0 commit comments

Comments
 (0)