I’m currently having some trouble with users and groups: (running on 12.3.0)
#1. Adding users to a group fails
My goal is to extend the already existing user group ‘admin’ with a new user, for example ‘testuser1’. I’ve added the following lines to my main.yaml: (inside of the hcm-config)
definitions: config: /hippo:configuration/hippo:groups/admin: hipposys:members: operation: add type: string value: [someotheruser, testuser1]
When deploying to an environment with an already existing repository, nothing happens. While deploying with with -Drepo.bootstrap=true. Although, I could tell that the change is there, since the hcm:baseline did pickup the change, only the ‘admin’ group still does not have the new user added.
Any ideas on what is going wrong here?
#2. Why are users and groups not part of hcm-content?
When trying to add a new user group of a new user to the hcm-content, it will show you the following error:
Content node '/hippo:configuration/hippo:groups/test-group' in 'hippo-project/hippo-project/hippo-project-repository-data-application [content: configuration/groups/test-group.yaml]' is not categorized as content, skipping action 'APPEND'.
I don’t see why hippo:groups and hippo:users are not part of the content, they are editable by the users in the CMS. So why are they in the hcm-config?
#3. boostrap=full does not reload users and groups?
Since I had issues with the config of the user groups, I thought
-Drepo.bootstrap=full might work.
But this didn’t change anything for the hippo:groups, I thought, since they’re part of the hcm-config, they would also be recreated from the bootstrapped yaml’s. Isn’t this true? Or are there exceptions which are not documented?
I start thinking there might be something wrong with my repository, but it looks all fine…
Hope you guys can point me in the right direction! Looking forward to your replies!