How to restrict RITM records to be visible only to specific assigned group and its members via ACL

Mayur21
Kilo Contributor

I have requirement where i need to restrict ritm records to be hidden for other group memebers and only visbile to the specific assigned group and its members.

I have written table.none ACL with below code and condition

find_real_file.png

 

find_real_file.png

Its not working as expected and users are still able to view other groups  ritm request.

Please help me on this.

1 ACCEPTED SOLUTION

sashichand
Mega Expert

Hi,

You can try the following way:

1> Create a custom role and assign it to this assignment group.

2> Now search for all the Request Read ACLs. You may have several and for the basic read ACLs for Requests that allow all ITIL(any other specif role) etc. to read the Requests. Here you should add a condition that assignment IS NOT 'xyz'.

3> Now in the new Read ACL...you should put assignment IS 'xyz' and then add the role to the role section of the ACL.

4> This way all the other Requests will be still read by ITIL(any other specific role), Expect the one assigned to this 'xyz' team.

5> now the team 'xyz' has their own ACL with role that allows the to read it.

 

Please mark reply as Helpful/Correct, if applicable. Thanks!

View solution in original post

6 REPLIES 6

We need to pay for custom role. So be careful when you do that


Thanks,
Ashutosh

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Mayur,

there is small error in your addQuery(); please use this; remove == and only use single =

ritm.addQuery('assignment_group', '=', sys_id);

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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