How to manage the inheritance of roles?

Suresh93
Tera Guru

Hi,

I wanted to remove the users from the role "knowledge" but the inheritance was true so, I used a background script to update the inheritance to false. But while using a background script I made a mistake in Encoded query because of which inheritance value got changed to "false" for many users.

I'm not getting how to revert it back. Or else I'll have to use update all?

Can anyone help me to understand the impact on roles inherited from the group. Is there any way to revert it back?

 

Thanks in Advance!

 

 

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Suresh,

Please check if Rollback and Recovery option works  https://docs.servicenow.com/bundle/orlando-platform-administration/page/administer/table-administrat.... If not the other possible solution is to import it from another instance (*cloned).

 

-Pradeep Sharma

View solution in original post

4 REPLIES 4

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Suresh,

Please check if Rollback and Recovery option works  https://docs.servicenow.com/bundle/orlando-platform-administration/page/administer/table-administrat.... If not the other possible solution is to import it from another instance (*cloned).

 

-Pradeep Sharma

Anil Shewale
Mega Guru

Hi suresh

following is the block of best practice to how to manage the inheritance of role.

https://community.servicenow.com/community?id=community_question&sys_id=d257bfdc1b4ebb40d01143f6fe4b...

 

If it help mark helpful or correct 

Thanks and regards

Anil

Suresh93
Tera Guru

Hi Pradeep,

I have used the Rollback and Recovery option to revert the executed background script. This worked for me.

 

Thanks for the suggestion!

 

Kind Regards

Suresh

You are very welcome. Thank you for participating in the community.

 

- Pradeep Sharma