You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I include an existing user in my import file and don't list any groups, the CLI removes all of the previously set groups for that user.
Expected Behavior
For lower levels as well, the CLI should only update and delete resources or attributes if a certain key is set at all. I.e., if no groups key is set on a user, the import should leave the existing user's groups untouched.
(This assumption according to the behavior listed in docs/MANAGED.md )
Steps To Reproduce
1. Create a user `[email protected]`.
2. Add the user to the import file, leave out groups key
3. Run import
4. Groups will be deleted even though no groups key was present:
Hello @juthilo please I would like you to give the specific patch of keycloak-config-cli Version: v6.1.5 that you used and had the problem so that it can ease the problem fixing. If you check well on the versions, you will see different patches of the same image that you are using (eg: 6.1.5-23, 6.1.5-23.0.7, 6.1.5-24)
Current Behavior
When I include an existing user in my import file and don't list any groups, the CLI removes all of the previously set groups for that user.
Expected Behavior
For lower levels as well, the CLI should only update and delete resources or attributes if a certain key is set at all. I.e., if no groups key is set on a user, the import should leave the existing user's groups untouched.
(This assumption according to the behavior listed in docs/MANAGED.md )
Steps To Reproduce
Environment
Anything else?
Example user yaml without groups:
Example log statements showing deletion of previously assigned group:
The text was updated successfully, but these errors were encountered: