Add LDAP & custom role badge & filter to users page
What does this MR do and why?
- Adds a
LDAP
badge and filter on theAdmin > Users
page to get a list of users synced via LDAP.
References
Screenshots or screen recordings
Screen_Recording_2025-04-23_at_11.12.25_am
How to set up and validate locally
- Log-in as an admin and ensure you are on an Ultimate license. Then, navigate to
/admin/users/
- Pick any existing user, and create an LDAP identity for that user:
Identity.create(user: <USER>, extern_uid: "uid=group-a,ou=people,dc=example,dc=com", provider: "ldapmain")
- Refresh the page. Filter the users by
LDAP Sync = True
. You should be able to see that user with anLDAP
badge.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #534310 (closed)
Edited by Hinam Mehra