Closed mikkonie closed 1 month ago
We should add a Django set for serving the server to ensure proper user auth methods are enabled. If everything is disabled, no one expect superusers can access the site, which is not generally what we want.
The pseudocode goes something like this:
PROJECTROLES_ALLOW_LOCAL_USERS
ENABLE_LDAP
ENABLE_OIDC
PROJECTROLES_KIOSK_MODE
PROJECTROLES_ALLOW_ANONYMOUS
ImproperlyConfigured
Done. I decided to set it as a warning instead of error, as technically there may be cases where this is desirable, for example during development.
We should add a Django set for serving the server to ensure proper user auth methods are enabled. If everything is disabled, no one expect superusers can access the site, which is not generally what we want.
The pseudocode goes something like this:
PROJECTROLES_ALLOW_LOCAL_USERS
ENABLE_LDAP
ENABLE_OIDC
PROJECTROLES_KIOSK_MODE
PROJECTROLES_ALLOW_ANONYMOUS
ImproperlyConfigured