Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Report_on ACL not working

David131
Giga Contributor

I want to create an automated report on the sys_email table as an admin. I activated the report ability on the sys_email table, and created an ACL to limit the access to admin but the ACL is not working. All ITIL users are currently able to report on the table.

The latest script is below, I did try a standard restriction to admin but that did not work either. I have attached the full ACL build in a screenshot.

if (gs.getUser().hasRole('admin')){

answer = true;
} else {
answer = false;
}

 

Thanks in advance for any help to can provide!

1 ACCEPTED SOLUTION

OlaN
Tera Sage
Tera Sage

Hi,

Try changing your ACL from report on from table.* to table.NONE

 

View solution in original post

1 REPLY 1

OlaN
Tera Sage
Tera Sage

Hi,

Try changing your ACL from report on from table.* to table.NONE