I want to restrict the users such that they can access incidents which are assigned to their group members.

Murthy JN1
Tera Contributor

I tried using Read ACL with 'Assignment Group'  - is (Dynamic) - One of my groups,  but I am able to view all the records of the incident table.

find_real_file.png

1 ACCEPTED SOLUTION

Raghu Ram Y
Kilo Sage

HI,

Remove condition and click on advance and under script write the below code.

answer=false;
if(gs.getUser().isMemberOf(current.assignment_group) && current.assignment_group!='')
{
answer=true;
}

View solution in original post

6 REPLIES 6

@Murthy JN 

I Hope my solution helps you, if it helps please mark my response as correct and helpful so that it will be helpful for the future readers

It helped me. Thanks, Raghu Ram. Sorry for the delayed reply.