Restrict Access to HR Cases by Assignment group

Sabrina10
Kilo Guru

Has anyone had to restrict access to view/edit HR cases by assignment group? If so, how did you approach it?

All of my HR groups have the sn_hr_core.case_writer role, but I only want them to be able to see cases that they are assigned.   HR Admins can see all cases.

We've started down the path of extending the hr_Case script include and modifying ACLs, but I'm wondering if there is a better way.

thanks

2 REPLIES 2

quentin_gillet
ServiceNow Employee
ServiceNow Employee

ACL are the most secure option.

 

You can however if you wish modify the Restrict Query business rule to cater for your needs.

Pranay Tiwari
Kilo Guru

as you said you want restrict access to view/edit. So for view go with view rule as per your condition and for restrict edit go with ACL.

 

And if you achieve this by ACL then why you looking for other.