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 client scope role mappings #605

Merged

Conversation

carillonator
Copy link
Contributor

@carillonator carillonator commented Oct 11, 2024

Add functions to get/add/delete Client Scope role mappings. Note there are already unfortunately-named get/assign/delete_client_roles_to_client_scope functions, which act on a Client's "dedicated" scope. I am open to adjusting the naming here, the keycloak terminology itself is confusing. My new names do not help the confusion, but are more accurate. I've improved the documentation on the existing ones, and cross-referenced the others to avoid confusing people.

@carillonator carillonator force-pushed the client-scope-role-mapping branch 10 times, most recently from bce0808 to f0b2860 Compare October 11, 2024 20:09
@carillonator carillonator marked this pull request as ready for review October 11, 2024 20:24
@carillonator
Copy link
Contributor Author

@ryshoooo @marcospereirampj any chance you could review this please?

Copy link
Collaborator

@ryshoooo ryshoooo left a comment

Choose a reason for hiding this comment

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

Just a suggestion for the new names :)

src/keycloak/keycloak_admin.py Outdated Show resolved Hide resolved
src/keycloak/keycloak_admin.py Outdated Show resolved Hide resolved
src/keycloak/keycloak_admin.py Outdated Show resolved Hide resolved
src/keycloak/keycloak_admin.py Outdated Show resolved Hide resolved
@carillonator carillonator force-pushed the client-scope-role-mapping branch 2 times, most recently from b37f17a to 033e750 Compare October 29, 2024 13:42
@carillonator
Copy link
Contributor Author

@ryshoooo thanks for the review -- updated with all your suggestions.

Copy link
Collaborator

@ryshoooo ryshoooo left a comment

Choose a reason for hiding this comment

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

Thanks a lot @carillonator :) LGTM

@ryshoooo ryshoooo merged commit 52b7165 into marcospereirampj:master Nov 3, 2024
34 checks passed
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