control the "New" button using ACLs.

RyoyaFukuda
Tera Contributor

Hi all
I would like to control the "New" button using ACLs.
I want to show the "New" button when the user looks directly at the list (first one) and hide the "New" button when the user references it from another table (second one not done right now).
At the moment, I am trying to control this by modifying the "Create" script in the ACL, but is there a better way?
If possible, please provide sample code or another way to do this.

RyoyaFukuda_0-1707283048087.png

 

RyoyaFukuda_1-1707283319076.png

 

1 REPLY 1