cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to create child usergroup?

mohammed24
Participant
0 Likes
773

Hi Experts,

Can we create child usergroup to already existing usergroup and assign a user to it? Any idea would be appreciated?

Accepted Solutions (1)

Accepted Solutions (1)

arvind-kumar_avinash
Active Contributor
0 Likes

You can assign one usergroup to another one e.g. if you add usergroup1 to usergroup2, the usergroup2 will have all the permissions inherited from usergroup1. You can do it using backoffice or ImpEx.

Using ImpEx:

 INSERT_UPDATE UserGroup;UID[unique=true];groups(uid)[mode=append]
 ;testproductmgrgrp;backofficeproductmanagergroup,employeegroup

Now, testproductmgrgrp will have all permissions inherited from backofficeproductmanagergroup and employeegroup. You can override the permissions for testproductmgrgrp.

mohammed24
Participant
0 Likes

Yes but its not working in that way..when i am trying to login its asking which user group i want to login parent or child..... Expected behaviour should be as you mentioned above

arvind-kumar_avinash
Active Contributor
0 Likes

Please check if the permissions have been overridden.

mohammed24
Participant
0 Likes

This works fine but then I click on user icon it shows parent group name instead of child group...can we change this??

arvind-kumar_avinash
Active Contributor
0 Likes

Let me try something. If I find something, I will update here.

arvind-kumar_avinash
Active Contributor
0 Likes

Hi Mohammed - please check the response I got from Hybris backoffice development team. As per the response, it has to be custom implemented. The User like icon is actually a Role Chooser which shows the currently selected role.

Answers (0)