Page 1 of 1

Give admin rights to non admin on a table

Posted: Thu Apr 18, 2024 5:18 am
by vintoICT

Give admin rights to non admin on a table. I want some users to have edit capability on a table that can only be edited by admin.

$userid= CurrentUserLevel();

if ($userid== 1 || $userid== 2 ){
// Allow user1 and 2 to edit on a table

}

Re: Give admin rights to non admin on a table

Posted: Thu Apr 18, 2024 8:53 am
by arbei

You may use TablePermission_Loaded server event.