add support for unmanagedAttributePolicy in user profile #976
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR extends the resource
keycloak_realm_user_profile
with the attributeunmanagedAttributePolicy
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 #946I 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.