User cannot inherit the Group Roles

ss123
Tera Contributor

Hi All,

 

We have 2 groups (Group A and Group B) with "sn_hr_core.basic" role. User1 is member of these 2 groups. 

But upon testing, when we remove the "sn_hr_core.basic" role of Group A, the sn_hr_core.basic role of the user was also removed, even though she is still a member of Group B) with "sn_hr_core.basic" role.

 

Is this an expected behavior? Thanks.

3 REPLIES 3

Community Alums
Not applicable

Hi @ss123 ,

Yes, it's an expected behavior.

Remove the user from both the groups and add the user again to the group where you the user to be part of.

 

 

Shivalika
Mega Sage

Hello @ss123 

 

Yes, this is expected behavior. Because the Role is part of the group. In simple terms role is child of the group. Role exists because Group is there with respect to a user profile. 

 

So, if you are removing the group itself, role will automatically be removed. 

 

You need to either add that role manually or add him to some other group which has this role to get it again. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Ankur Bawiskar
Tera Patron
Tera Patron

@ss123 

I agree with @Community Alums here. Please follow the steps he mentioned.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader