why can't I use a script to determine acl settings for the add_to_list operation?

bcronrath
Kilo Guru

I have created specific rules that require script logic in order to read the values on certain fields.   I've noticed users can still select these fields when personalizing their lists, however I do not want them to even be able to see the fields as selectable when personalizing lists.   When I try to create an acl on the operation add_to_list and select the advanced checkbox, no option for using script logic appears.   Why is this, and is there a way I can apply the same logic to my read operations to my add_to_list operations?  

Best regards,

Brian

1 ACCEPTED SOLUTION

That's not going to do it, it's still going to be selectable from the list of fields when you click the gearbox whether or not you have read access or not to the fields (reall wish this wasn't the default behavior).



I did find a workaround that worked:



How to apply ACL script to List Mechanic to hide columns (tested in Eureka)


View solution in original post

2 REPLIES 2

Geoffrey2
ServiceNow Employee
ServiceNow Employee

I do this by adding the ACL to the read operation.


That's not going to do it, it's still going to be selectable from the list of fields when you click the gearbox whether or not you have read access or not to the fields (reall wish this wasn't the default behavior).



I did find a workaround that worked:



How to apply ACL script to List Mechanic to hide columns (tested in Eureka)