Expand description
Functionality for disabling fs-mistrust checks based on configuration or
environment variables.
Enumsยง
- Disable ๐
- Value to configure when permission checks should be disabled. This type is
set in the builder, and converted to a bool in the
Mistrust. - Status ๐
- Convenience type to indicate whether permission checks are disabled.
Constantsยง
- GLOBAL_
DISABLE_ VAR - An environment variable which, if set, will cause a us to trust all users (and therefore, in effect, to disable all permissions checks.)
Functionsยง
- from_
env_ ๐var - As
from_env_value, but takes the name of the variable. - from_
env_ ๐var_ value - Convert the result of
std::env::varto a boolean, if the variable is set.