Skip to content

ability to populate is_staff and is_superuser flags at LDAP authentication - #1335

Merged
pirate merged 5 commits into
ArchiveBox:devfrom
vladimirdulov:feature/is_staff-is_superuser-flags-defaults
Jan 24, 2024
Merged

ability to populate is_staff and is_superuser flags at LDAP authentication#1335
pirate merged 5 commits into
ArchiveBox:devfrom
vladimirdulov:feature/is_staff-is_superuser-flags-defaults

Conversation

@vladimirdulov

@vladimirdulov vladimirdulov commented Jan 24, 2024

Copy link
Copy Markdown
Contributor

On LDAP authentication, it sets is_staff flag to True for all LDAP users and sets is_superuser to True if LDAP_CREATE_SUPERUSER config setting is set to True accordingly.

It's needed to make LDAP auth properly working.

@pirate
pirate changed the base branch from main to dev January 24, 2024 18:24
Comment thread archivebox/core/auth_ldap.py
@pirate

pirate commented Jan 24, 2024

Copy link
Copy Markdown
Member

thanks!

@pirate
pirate merged commit 224df91 into ArchiveBox:dev Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants