ddUserPerm
The PHP function ddUserPerm will tell you if the user is granted a particular permission on a particular
table.
The permissions you can request are:
sel: May the user select?
ins: May the user insert?
upd: May the user update?
del: May the user delete?
menu: Does this person see this on the menu? To return a true for this permission, the user
must have menu permission and SELECT permission.
string $table_id - Id for the data dictionary table
string $perm_id - Id for the permission (sel, ins, upd, del, menu)
RETURN VALUE
boolean - if the user has the permission