Page 1 of 1
determine perms for a table
Posted: Thu Apr 04, 2019 9:27 pm
by sticcino
is there any way to easily get the permissions for a specific table, is there a function hidden in phpfn15 ?
have some dashboard "quick form access" buttons, but don't wan't to display them if the user can't add/edit in that particular table etc..
Re: determine perms for a table
Posted: Thu Apr 04, 2019 10:28 pm
by sticcino
look through the security classes/help
is this a temporary request ?, I could use this function to give the user temp permissions to add the detail record ?
$this->addUserPermission("notes_table", ALLOW_ADD);
Re: determine perms for a table
Posted: Thu Apr 04, 2019 10:42 pm
by sticcino
actually not gonna help, the issue is the user doesn't own the master record they are trying to insert the record for...