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::var
to a boolean, if the variable is set.