keycloak-config-cli icon indicating copy to clipboard operation
keycloak-config-cli copied to clipboard

Add support for partial update of users

Open jirutka opened this issue 2 years ago • 4 comments

Problem Statement

I’m using User Federation (LDAP), so I don’t wanna update the user name, email etc., but I’d like to manage realm roles and client roles via keycloak-config-cli.

Proposed Solution

Make IGNORED_PROPERTIES_FOR_UPDATE configurable via CLI option. Or better, add an inverse option to specify the properties that should be updated.

Environment

No response

Additional information

No response

Acceptance Criteria

No response

jirutka avatar Aug 10 '23 14:08 jirutka

Hi @jirutka, I guess this would not be that easy because keycloak only has a PUT-route for users so you need to load every detail of that user to make changes about them. If there is some interaction and the user changes an attribute, that information would be lost afterwards.

jonasvoelcker avatar Mar 14 '24 19:03 jonasvoelcker