Issue when promoting: Role assigned to group

Mai Phuong
Tera Contributor

Hello all,

I am facing one weird issue now, this happens in QA environment.

In DEV environment, I assign role A to a group and the system auto grant this role to all users of this group. Then I capture the related record in sys_group_has_role to update set by using 'Force to Update Set'.

Then I promote this update set to QA environment. When checking I see the group has the correct role but all users of this group don't have role A. I don't why it happen?!

I tried another way: capture sys_user_group record into update set and push again to QA but the same result.

Has anybody experienced the same anytime till now?
Am I doing something wrong?

Please advice.

Regards

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Why not have this as manual activity?

Once group is migrated; you can add members to it; then add role to group and it would auto-assign the role to members

Regards
Ankur

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

View solution in original post

7 REPLIES 7

Jaspal Singh
Mega Patron
Mega Patron

@Mai Phuong You need to ensure you do below.

1. Capture Group (sys_user_group) in Update set

2. Capture Group Roles (sys_group_has_role) table entries in Update set

3. Capture Group Membership (sys_user_grmembership) entries in Update set as well

Jyoti123
Giga Contributor

Hello I am also facing somewhat same issue....user want access of perticular group,i have added user in that group,so that he automatically assign role which that group have...but till now he didn't get access...

That group has only one role...and that user also assigned that role after  adding in that group.till he has no access, kindly suggest me os there any other way