Hello,
I set permissions on some fields, using functions like this in the php file in my table:
function price__permissions(&$record){
if ( isAdmin() ) return Dataface_PermissionsTool::ALL();
return Dataface_PermissionsTool::NO_ACCESS();
}
This works, but users who are not Admin still have in their search form the fields that are not permitted.
What can I do to obtain that these forbidden fields only appear in the Admin search form? ('find' action)?
Thanks
Antonio