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 attributes management to keycloak_role #475

Merged
merged 8 commits into from
Feb 28, 2021

Conversation

dbolack
Copy link
Contributor

@dbolack dbolack commented Jan 28, 2021

This adds the attributes field to keycloak roles.

A couple of small tweaks popped in due to my linter and I slightly reworked the after the PUT update in the role update function to return a call to read instead of processing and updating directly.

This is a pretty simple addition, most of it was cribbed from how realm attributes were handled with minor changes to reflect realm.attributes and role.attributes not being the same type in the JSON.

Copy link
Owner

@mrparkers mrparkers left a comment

Choose a reason for hiding this comment

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

thanks for the PR! I made some changes because these attributes appear to be similar to attributes for groups.

@mrparkers mrparkers merged commit 915b23f into mrparkers:master Feb 28, 2021
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