You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation and usage for IMPORT_LOCAL_PATHS is confusing from a security standpoint, since it's next to DISABLE_GIT_HOOKS in the Config Cheat Sheet.
After much reading, my interpretation is that:
setting DISABLE_GIT_HOOKS to true is the 'safe' option
setting IMPORT_LOCAL_PATHS to false is the 'safe' option
The documentation for both options actually begins with: 'Prevent all users from…' which might lead some users to believe that setting both options to true is the 'safe' thing.
Maybe we should change the docs to something like:
DISABLE_GIT_HOOKS: Set to true to prevent all users from…
IMPORT_LOCAL_PATHS: Set to false to prevent all users from…
If I misinterpreted everything, maybe we should rename the option to DISABLE_LOCAL_IMPORT?
(Footnote: I know 'safe' is relative, that's why it's in quotes. And I've read through #2501 and #3997 but I'm still unsure about what is 'safe' and what not.)
The text was updated successfully, but these errors were encountered:
Description
The documentation and usage for
IMPORT_LOCAL_PATHS
is confusing from a security standpoint, since it's next toDISABLE_GIT_HOOKS
in the Config Cheat Sheet.After much reading, my interpretation is that:
DISABLE_GIT_HOOKS
totrue
is the 'safe' optionIMPORT_LOCAL_PATHS
tofalse
is the 'safe' optionThe documentation for both options actually begins with: 'Prevent all users from…' which might lead some users to believe that setting both options to
true
is the 'safe' thing.Maybe we should change the docs to something like:
DISABLE_GIT_HOOKS
: Set totrue
to prevent all users from…IMPORT_LOCAL_PATHS
: Set tofalse
to prevent all users from…If I misinterpreted everything, maybe we should rename the option to
DISABLE_LOCAL_IMPORT
?(Footnote: I know 'safe' is relative, that's why it's in quotes. And I've read through #2501 and #3997 but I'm still unsure about what is 'safe' and what not.)
The text was updated successfully, but these errors were encountered: