abx_plugin_ldap_auth
Submodules
Package Contents
Functions
Invoked after LDAP authenticates a user, but before they have a local User account created. ArchiveBox requires staff/superuser status to view the admin at all, so we must create a user |
|
Called at AppConfig.ready() time (settings + models are all loaded) |
Data
API
- abx_plugin_ldap_auth.create_superuser_from_ldap_user(sender, user=None, ldap_user=None, **kwargs)[source]
Invoked after LDAP authenticates a user, but before they have a local User account created. ArchiveBox requires staff/superuser status to view the admin at all, so we must create a user
set staff and superuser when LDAP authenticates a new person.