Skip to content

feat: add option to resolve groups for users in Keycloak#1925

Open
dschmidt wants to merge 1 commit intoopentdf:mainfrom
dschmidt:feat/user-group-resolution
Open

feat: add option to resolve groups for users in Keycloak#1925
dschmidt wants to merge 1 commit intoopentdf:mainfrom
dschmidt:feat/user-group-resolution

Conversation

@dschmidt
Copy link

@dschmidt dschmidt commented Feb 18, 2025

Proposed Changes

Optionally load groups when resolving users from keycloak.
This allows specifying condition sets based on group membership.

I can add tests if you are interested in this patch at all.

Checklist

  • I have added or updated unit tests
  • I have added or updated integration tests (if appropriate)
  • I have added or updated documentation

Testing Instructions

With the development setup you have a sample-user who is a member of "mygroup".

Set a breakpoint here and see the group being added to the flattened user entity.

@dschmidt dschmidt requested a review from a team as a code owner February 18, 2025 01:26
@jrschumacher
Copy link
Member

Thanks for the contribution! We'll review and add some comments. It will require some tests to ensure we can merge.

@github-actions github-actions bot added the Stale label Jun 19, 2025
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.

2 participants