Help with ACL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 08:49 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 11:14 AM
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