We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

ACL for listview not working

abigailtaba
Tera Expert

What I need is an ACL on the list view: users with the x_role should have access to records with the x_type. If they don’t have the role, those types of change requests should not be visible.

I tested this with a user who only has the itil role, and when I impersonate that user, the records are still visible. I need it so that only users with the x_role or the admin role can see those records.

Current ACL:

Type: Record
Operation: Read
Decision Type: Allow if
Name: Change Request
Script:

 

answer = (current.type == 'x_type') && gs.hasRole('x_role');

I tried also without scripting but still not working

15 REPLIES 15

glideFather
Tera Patron

Sorry for spamming but I just noticed that you mentioned list view!!!

try to change the operation from Read to list-edit:

 

KamilT_1-1752591397917.png

 


✂-----Cutting-out-the---✦AI-noise✦---All-replies-written-and-vouched-for-by-GlideFather---