mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
src: add permission flag to config file
PR-URL: https://github.com/nodejs/node/pull/60798 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
committed by
Node.js GitHub Bot
parent
dbe47043dd
commit
72dd0fa5cd
@@ -652,6 +652,9 @@
|
||||
},
|
||||
"allow-worker": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"permission": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -599,7 +599,8 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
|
||||
"enable the permission system",
|
||||
&EnvironmentOptions::permission,
|
||||
kAllowedInEnvvar,
|
||||
false);
|
||||
false,
|
||||
OptionNamespaces::kPermissionNamespace);
|
||||
AddOption("--allow-fs-read",
|
||||
"allow permissions to read the filesystem",
|
||||
&EnvironmentOptions::allow_fs_read,
|
||||
|
||||
Reference in New Issue
Block a user