Adapt ldap/extra: LDAPGroupQuery is now imported in ldap_config

This commit is contained in:
NeodymiumFerBore 2024-09-02 17:29:17 +00:00
parent d9ff19fd30
commit 671f5e9411

View File

@ -1,11 +1,10 @@
#### ####
## This file contains extra configuration options that can't be configured ## This file contains extra configuration options that can't be configured
## directly through environment variables. ## directly through environment variables.
## All vairables set here overwrite any existing found in ldap_config.py ## All variables set here overwrite any existing found in ldap_config.py
#### ####
# # This Python script inherits all the imports from ldap_config.py # # This Python script inherits all the imports from ldap_config.py
# from django_auth_ldap.config import LDAPGroupQuery # Imported since not in ldap_config.py
# # Sets a base requirement of membetship to netbox-user-ro, netbox-user-rw, or netbox-user-admin. # # Sets a base requirement of membetship to netbox-user-ro, netbox-user-rw, or netbox-user-admin.
# AUTH_LDAP_REQUIRE_GROUP = ( # AUTH_LDAP_REQUIRE_GROUP = (