Example #1
0
 public function doSelfSuid()
 {
     $user =& S::user();
     if (!$this->startSUID($user)) {
         return false;
     }
     S::set('perms', User::makePerms("groups"));
     return true;
 }
Example #2
0
 protected function makePerms($perm, $is_admin)
 {
     S::set('perms', User::makePerms($perm, $is_admin));
 }