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 role mapping for trusted clusters #3277

Merged
merged 1 commit into from
Jan 15, 2020

Conversation

klizhentas
Copy link
Contributor

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.

@klizhentas
Copy link
Contributor Author

retest this please

5 similar comments
@klizhentas
Copy link
Contributor Author

retest this please

@klizhentas
Copy link
Contributor Author

retest this please

@klizhentas
Copy link
Contributor Author

retest this please

@klizhentas
Copy link
Contributor Author

retest this please

@klizhentas
Copy link
Contributor Author

retest this please

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.
@klizhentas klizhentas force-pushed the sasha/forward-port-master-3252 branch from 5b32dad to c00a6ca Compare January 15, 2020 18:07
@klizhentas
Copy link
Contributor Author

retest this please

1 similar comment
@klizhentas
Copy link
Contributor Author

retest this please

@klizhentas klizhentas merged commit 83d0f7e into master Jan 15, 2020
@klizhentas klizhentas deleted the sasha/forward-port-master-3252 branch March 15, 2021 16:50
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.

Leaf cluster authentication regression in role mapping
1 participant