Lines Matching refs:user
48 $user = array();
52 $user['groups'] = array();
56 $user['groups'] = $INFO['userinfo']['grps'];
57 $user['name'] = $_SERVER['REMOTE_USER'];
61 array_push($user['groups'], 'ALL');
64 return $user;
75 function rb_check_action_perms($action, $perms, $user) {//func argument
108 in_array($user['name'], $allowed_users))
111 foreach ($user['groups'] as $group) {//do
129 function rb_button($action, $perms, $user) {//func argument
135 if (rb_check_action_perms($action, $perms, $user)) {//do
162 function rb_sitecmds($perms, $user) {//func argument
190 rb_button($command, $perms, $user);