Give admin rights to non admin on a table
Posted: Thu Apr 18, 2024 5:18 am
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
}