Help with ACL

Community Alums
Not applicable

I have a need to block all users except users in a group called SEC_EML that have a role associated with them called sec_research.  There are only 4 people in the group.

What I need:

I need to make all of the records in the sc_task table that are assigned to the SEC_EML group to only show for that group.  All other users/groups should not see those records doing a sc_task.list.

 

How can I accomplish this the easiest most efficient way.  
I'm not great with ACLs so Need some help please.

 

1 REPLY 1

Runjay Patel
Giga Sage

Hi @Community Alums ,

 

Best way to have this to write before query business rule to control the list data.

use below code

if(!gs.getUser().isMemberOf(‘SEC_EML’))

current.addQuery(‘assignment_group’, ‘SEC_EML’).

 

Please accept the solution if it helped