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

create new mappers for groups-and-roles #3319

Merged
merged 4 commits into from
Jan 30, 2023

Conversation

tobybellwood
Copy link
Member

As discussed in #3161 (comment)

This PR adds a replacement groups-and-roles mapper to the keycloak-opensearch connector. It improves the current solution by adding all the groups the user is in, then checking any additional projects and excluding them if they're already covered by a group access. This reduces the size of the passed object to Keycloak.

@tobybellwood tobybellwood added this to the v2.12.x milestone Dec 28, 2022
@tobybellwood tobybellwood requested a review from smlx January 5, 2023 05:59
Copy link
Member

@smlx smlx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think I'm the right person to review this. Maybe @rocketeerbkw (as the Keycloak SME) or @shreddedbacon (as the original author)?

@shreddedbacon shreddedbacon self-requested a review January 17, 2023 06:55
Copy link
Member

@shreddedbacon shreddedbacon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was running in our test infra for some time prior and it provides the right group/project reductions as required.

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