populate is_staff and is_superuser flags at LDAP authentication

This commit is contained in:
Vladimir D 2024-01-24 22:18:02 +04:00
parent a2cfe764d4
commit 95580ee743
5 changed files with 32 additions and 0 deletions

View file

@ -112,6 +112,7 @@ CONFIG_SCHEMA: Dict[str, ConfigDefaultDict] = {
'LDAP_FIRSTNAME_ATTR': {'type': str, 'default': None},
'LDAP_LASTNAME_ATTR': {'type': str, 'default': None},
'LDAP_EMAIL_ATTR': {'type': str, 'default': None},
'LDAP_CREATE_SUPERUSER': {'type': bool, 'default': False},
},
'ARCHIVE_METHOD_TOGGLES': {