Skip to content

(3.0-g) Fix role mapping for trusted clusters #3726

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

Merged
merged 1 commit into from
May 18, 2020

Conversation

r0mant
Copy link
Collaborator

@r0mant r0mant commented May 16, 2020

Backport #3253 to 3.0-g.

This commit fixes #3252

Security patches 4.2 introduced a regression - leaf clusters ignore role mapping
and attempt to use role names coming from identity of the root cluster
whenever GetNodes method was used.

This commit reverts back the logic, however it ensures that the original
fix is preserved - traits and groups are updated on the user object.

Integration test has been extended to avoid the regression in the future.
@r0mant r0mant requested a review from russjones May 16, 2020 00:29
@r0mant r0mant self-assigned this May 16, 2020
@r0mant
Copy link
Collaborator Author

r0mant commented May 16, 2020

retest this please

@r0mant r0mant merged commit 5b6732a into branch/3.0-g May 18, 2020
@r0mant r0mant deleted the roman/3.0-g/rolemap branch May 18, 2020 15:21
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.

3 participants