Read ACL not working for a field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 11:47 AM
Hello,
I am trying to get a certain group to be able to see data in the "approval_set" field. I wrote a read ACL, but for some reason the group still cannot see the data in the field. Any suggestions?
I attached screenshots of the field and my ACL below.
function validate() {
if (current.isNewRecord())
return true;
// Payroll
if (gs.getUser().isMemberOf("765370019f22120047a2d126c42e705c"))
return true;
return false;
}
answer = validate();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 12:30 PM
I tried to change the table but the field only exists on the Task table. There is also a write ACL on the same field. It says that only admins can write to the field.
I am using this 'approval_set' field in a report/dashboard and I just need a member of this group to be able to see it on the report itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 12:37 PM
The ACL you have created add itil role to it and test again.
On my PDI I can see an OOB read ACL also on the same field