Skip to content

Retain project role when users re-added to project via LDAP - #3880

Merged
josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:project-role-history
Jul 29, 2026
Merged

Retain project role when users re-added to project via LDAP#3880
josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:project-role-history

Conversation

@williamjallen

Copy link
Copy Markdown
Collaborator

CDash currently adds all LDAP-controlled project members at the most basic user level, with no ability to have admins for LDAP-managed projects. Users who are added as project admins by direct database manipulation have their admin status revoked if the LDAP server fails temporarily. This PR adds an "audit log" of sorts, storing the history of project membership. The log is used to restore users at their previous access level when regaining access to an LDAP-managed project.

CDash currently adds all LDAP-controlled project members at the most basic user level, with no ability to have admins for LDAP-managed projects.  Users who are added as project admins by direct database manipulation have their admin status revoked if the LDAP server fails temporarily.  This PR adds an "audit log" of sorts, storing the history of project membership.  The log is used to restore users at their previous access level when regaining access to an LDAP-managed project.
@josephsnyder
josephsnyder added this pull request to the merge queue Jul 29, 2026
Merged via the queue into Kitware:master with commit 3602cb3 Jul 29, 2026
7 checks passed
@williamjallen
williamjallen deleted the project-role-history branch July 29, 2026 20:16
williamjallen added a commit to williamjallen/CDash that referenced this pull request Aug 4, 2026
It's currently impossible to change user roles in LDAP-managed projects
via the UI. In light of Kitware#3880,
there is no longer a reason for this to be prohibited. This PR changes
the behavior to allow project and global administrators to change user
roles for LDAP-managed projects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants