Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ldap/roles): fix the issue of multiple entries in Ldap for single user #1173

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

kirangodishala
Copy link
Contributor

@kirangodishala kirangodishala commented Jul 19, 2024

It has been observed that when a user has multiple entries in LDAP the resulting roles set for that user is empty.
This PR addresses the issue by merging the unique roles associated with all the entries for that user.

Before adding the changes, I have updated the existing tests to strengthen the assertions and included a test demonstrating the issue.

@kirangodishala kirangodishala force-pushed the handle-multiple-ldap-entries branch 4 times, most recently from 689ed86 to 7dd040c Compare July 30, 2024 18:57
@kirangodishala kirangodishala force-pushed the handle-multiple-ldap-entries branch from 7dd040c to 95b0b9e Compare July 31, 2024 08:36
@dbyron-sf dbyron-sf force-pushed the handle-multiple-ldap-entries branch from 95b0b9e to 7ac5388 Compare July 31, 2024 17:44
@dbyron-sf dbyron-sf added the ready to merge Approved and ready for merge label Jul 31, 2024
@mergify mergify bot added the auto merged label Jul 31, 2024
@mergify mergify bot merged commit 7166eee into spinnaker:master Jul 31, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants