ACLs not working on the case table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
I'm trying to work around with ACLs on the case(sn_customerservice_case) table. However, even after creating the ACL and restricting the auto_close field to be visible only to the sn_customerservice_agent role, when I'm logging in as some other user, the auto_close field is still there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
The issue is that your Applies to conditions are not being met. Logically (I learned this the hard way) when using 'is not' or !=, the conditions will most always be joined with an AND, not an OR. In your case, any record you are viewing is either not in the Closed state or not in the Cancelled state, so the ACL doesn't apply. You can also use the 'is not one of' (or 'is one of') in this case to select both values in one statement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
So if you don't want agents to see that field when the State is Closed or Cancelled, then do this
Use "Allow IF"
State [IS ONE OF] Your Other States and Skip those 2
OR
If you want to use "Deny Unless" then check response from @Brad Bowman
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
