The Zurich release has arrived! Interested in new features and functionalities? Click here for more

ACL Not Working

mdshahvez11
Tera Contributor

Hello Everyone,

Earlier, we had created a few ACLs in both Dev and Prod environments to ensure that users can only view the tickets of the groups they are a part of.

However, while testing the scenario, we noticed that users are able to see tickets from all groups, even if they are not members of those groups.

I’m attaching the screenshots of the ACLs for reference , where filter condition is : Assignment group - is one my group

mdshahvez11_0-1756395182673.png



mdshahvez11_1-1756395220853.png


 

 

8 REPLIES 8

RaghavSh
Kilo Patron

I believe for this you will have to write the script by clicking advanced:

 

answer = false;
if(gs.getUser().isMemberOf(current.assignment_group))
answer = true;

 

Applies to just filter the list of records but do not restrict.


Raghav
MVP 2023
LinkedIn

tried this but it did not worked

Then you probably have some conflicting table level ACL, which is providing access.

If there are 2 "Allow if" ACLs on a table then if user fulfil the conditions of 1 ACL, the access is provided.

Make sure the use does not have admin role because this ACLs are admin override checked.

Alternatively user Debug security rules and check which ACL is providing the access.


Raghav
MVP 2023
LinkedIn