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 support for unmanagedAttributePolicy in user profile #976

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ili16
Copy link

@ili16 ili16 commented Jul 1, 2024

This PR extends the resource keycloak_realm_user_profile with the attribute unmanagedAttributePolicy which can be ommited or used with the values "DISABLED,ENABLED,ADMIN_VIEW,ADMIN_EDIT". I kept the changes as simple as possible in order to not break any legacy stuff even more than it currently is. It closes #946

I did have to add the mandatory fields "username" and "email" to the user profile if one chooses to delete the user profile. This does have the adverse effect that creating a new realm has a different user profile config than creating a new realm and then deleting the user profile.

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.

keycloak_realm_user_profile: should support 'unmanagedAttributePolicy'
2 participants