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

Add federationLink to groups #6

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

JBWatenbergScality
Copy link
Contributor

This PR adds support for a federationLink in the Groups, so that when retrieving the groups via the group-with-links new endpoints we know if it is a LDAP federated group or not.

It introduces 2 major things:

  • A new LDAP group mapper provider ID that needs to be used to keep the reference of the Provider Id next to the group (so when creating the group mapper we need to mention providerId: group-with-link-ldap-mapper instead of. providerId: group-ldap-mapper)
  • A new admin resource GET /admin/realms/master/groups-with-link that list groups apart with their federationLink if any is defined. The resource is searchable (thanks to the search query parameter and filterable per link to which we can provide the component id corresponding to the ldap integration component

Copy link
Contributor

@ChengYanJin ChengYanJin left a comment

Choose a reason for hiding this comment

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

This is amazing great work !

@JBWatenbergScality JBWatenbergScality merged commit b4d5f7c into main Apr 2, 2024
6 checks passed
@JBWatenbergScality JBWatenbergScality deleted the feature/group-federation-link branch April 2, 2024 08:55
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.

2 participants