Home
last modified time | relevance | path

Searched refs:grps (Results 1 – 25 of 46) sorted by relevance

12

/plugin/shibbolethauth/files/
H A Dshibboleth.class.php162 $grps = array();
190 if (empty($grps[0])) {
191 $grps[0] = $list->listAddress;
289 $grps = array();
316 if (empty($grps[0])) {
317 $grps[0] = $list->listAddress;
356 if(!empty($grps[0])){
357 foreach($grps as $group){
375 foreach ($grps as $grp){
430 if (!is_array($grps)) $grps = array($conf['defaultgroup']);
[all …]
/plugin/sympaauth/files/
H A Dsympa.class.php125 $grps = array();
133 if (empty($grps[0])) {
134 $grps[0] = $list->listAddress;
136 array_unshift($grps,$list->listAddress);
140 array_unshift($grps,$listrequest);
144 array_unshift($grps,$listeditor);
150 …(empty($grps[0]) ? $grps[0] = $this->sympaDefaultGroup : array_unshift($grps,$this->sympaDefaultGr…
/plugin/forceuserchange/
H A Daction.php91 $grps = $this->get_user_groups($user);
92 $has_group = array_search($this->getConf('groupname'), $grps) !== false;
112 $grps = $this->get_user_groups($user);
113 $key = array_search($this->getConf('groupname'), $grps);
116 array_splice($grps, $key, 1);
117 $auth->triggerUserMod('modify', array($user, array('grps'=>$grps)));
121 $grps[] = $this->getConf('groupname');
122 $auth->triggerUserMod('modify', array($user, array('grps'=>$grps)));
/plugin/oauthgeneric/
H A Daction.php35 $grps = DotAccess::get($result, $this->getConf('json-grps'), []);
41 if (!is_array($grps)) {
42 $grps = explode(',', $grps);
43 $grps = array_map('trim', $grps);
/plugin/isauth/
H A Dsyntax.php100 global $grps;
111 $grps=array();
114 $grps[]="@" . $val;
117 $grps[]=$_SERVER['REMOTE_USER'];
134 if ($not==0 && in_array($val,$grps)) {
139 if ($not==1 && !in_array($val,$grps)) {
/plugin/authowncloud/
H A Dauth.php85 $grps = $this->getUserGroups($user);
86 return array('name'=>$name,'mail'=>$mail,'grps'=>$grps);
104 * @param array $grps
107 public function createUser($user, $pwd, $name, $mail, $grps = null) { argument
114 if(!is_array($grps)) $grps = array($conf['defaultgroup']);
115 foreach($grps as $grp){
/plugin/grouphome/
H A Daction.php34 $grps = (array) $INFO['userinfo']['grps'];
35 if(!count($grps)) return;
39 foreach($grps as $grp){
/plugin/authremoteuser/
H A Dauth.php125 * @param array $grps list of groups the user is in
128 protected function _createUserLine($user, $pass, $name, $mail, $grps) { argument
129 $groups = join(',', $grps);
154 * @param array $grps
157 public function createUser($user, $pwd, $name, $mail, $grps = null) { argument
168 if(!is_array($grps)) $grps = array($conf['defaultgroup']);
171 $userline = $this->_createUserLine($user, $pass, $name, $mail, $grps);
/plugin/virtualgroup/
H A Dadmin.php71 $grps = array_unique(explode(',',$grp));
72 $this->users[$user] = $grps;
170 $grps = explode(',',$grp);
174 $this->users[$user] = array_merge($this->users[$user],$grps);
177 $this->users[$user] = $grps;
215 foreach ($this->users as $u => $grps) {
302 foreach ($this->users as $user => $grps) {
303 foreach ($grps as $grp) {
351 foreach ($this->users as $user => $grps) {
356 ptln(' <td>'.hsc(implode(', ',$grps)).'</td>');
H A Daction.php33 $grps = array_unique(array_merge($USERINFO['grps'],$this->users[$_SERVER['REMOTE_USER']]));
34 $USERINFO['grps'] = $grps;
35 $_SESSION[DOKU_COOKIE]['auth']['info']['grps'] = $grps;
/plugin/authyubikey/
H A Dauth.php.org80 * grps array list of groups the user is in
101 * @param array $grps list of groups the user is in
104 protected function _createUserLine($user, $pass, $name, $mail, $grps) {
105 $groups = join(',', $grps);
120 * function if grps are not specified (default behaviour).
129 * @param array $grps
132 public function createUser($user, $pwd, $name, $mail, $grps = null) {
145 if(!is_array($grps)) $grps = array($conf['defaultgroup']);
155 $this->users[$user] = compact('pass', 'name', 'mail', 'grps');
347 $this->users[$row[0]]['grps'] = $groups;
[all …]
/plugin/authvk/
H A Dauth.php126 * @param array $grps list of groups the user is in
129 protected function _createUserLine($user, $pass, $name, $mail, $grps) { argument
130 $groups = join(',', $grps);
155 * @param array $grps
158 public function createUser($user, $pwd, $name, $mail, $grps = null) { argument
171 if(!is_array($grps)) $grps = array($conf['defaultgroup']);
174 $userline = $this->_createUserLine($user, $pass, $name, $mail, $grps);
/plugin/authimap2/
H A Dauth.php129 * @param array $grps list of groups the user is in
132 protected function _createUserLine($user, $pass, $name, $mail, $grps) { argument
133 $groups = join(',', $grps);
156 * @param null|array $grps
159 public function createUser($user, $pass, $name, $mail, $grps = null) { argument
172 if(!is_array($grps)) $grps = array($conf['defaultgroup']);
175 $userline = $this->_createUserLine($user, $pass, $name, $mail, $grps);
/plugin/bez/mdl/
H A DModel.php118 $grps = $userd['grps'];
119 if (in_array('admin', $grps ) || in_array('bez_admin', $grps )) {
121 } elseif (in_array('bez_leader', $grps )) {
/plugin/authldaplocal/
H A Dauth.php319 * @param array $grps list of groups the user is in
322 protected function _createUserLine($user, $pass, $name, $mail, $grps) { argument
323 $groups = join(',', $grps);
344 * @param array $grps
347 public function createUser($user, $pwd, $name, $mail, $grps = null) { argument
367 if(is_array($grps)) {
368 $grps = array_merge($grps, $info['grps']);
370 $grps = $info['grps'];
374 if(!is_array($grps) or !$grps) $grps = array($conf['defaultgroup']);
377 $userline = $this->_createUserLine($user, $pass, $name, $mail, $grps);
/plugin/listeabo/
H A Daction.php72 //if (in_array('admin',$INFO['userinfo']['grps'])) $admin = trim($_REQUEST['admin']);
73 //if (in_array('admin',$INFO['userinfo']['grps'])) $user = trim($_REQUEST['user']);
170 //if (in_array('admin',$INFO['userinfo']['grps'])) {
/plugin/condition/
H A Dbase_tester.php.orig.php93 $grps = isset($INFO['userinfo']) ? $INFO['userinfo']['grps'] : array();
94 if(!$b['test'] || ($b['test'] == '')) return (count($grps) != 0);
99 if(!$b['value'] || ($b['value'] == '')) return (count($grps) == 0);
100 return in_array($b['value'], $grps); break;
104 if(!$b['value'] || ($b['value'] == '')) return (count($grps) != 0);
105 return !in_array($b['value'], $grps); break;
/plugin/authsmartcard/
H A Dauth.php189 * @param null|array $grps
192 public function createUser($user, $pass, $name, $mail, $grps = null) { argument
193 return parent::createUser($user, $pass, $name, $mail, $grps);
/plugin/genericsso/
H A Dauth.php107 private function setSession($user, $grps = null, $mail = null, $name = null) { argument
111 $USERINFO['grps'] = is_array($grps) ? $grps : array();
/plugin/mailto/
H A Daction.php66 foreach ((array)explode(',', $this->getConf('mailto_acl_grps')) as $grps) {
67 if (in_array($grps, $USERINFO['grps']))
/plugin/freechat/
H A Dsyntax.php88 if (($this->getConf('admin_group') != '') && isset($USERINFO['grps'])) {
91 if (in_array(trim($item),$USERINFO['grps'])) {
/plugin/authsqlite/
H A Dauth.php243 * @param array $grps array of groups the user should become member of
250 protected function _addUser($user, $pwd, $name, $mail, $grps) { argument
251 if($this->dbcon && is_array($grps)) {
266 foreach($grps as $group) {
/plugin/authgoogle/
H A Dauth.php152 $grps = null;
153 … if ($this->getConf('default_groups')) $grps = explode(' ', $this->getConf('default_groups'));
155 $this->createUser($login, md5(rand().$login), $user['name'], $email, $grps);
/plugin/groupmanager/
H A Dsyntax.php614 if (!empty($grps)) $groups = join(',', $grps);
696 list($user, $pass, $name, $mail, $grps) = $this->_retrieveUser();
739 … if ($ok = $this->_auth->triggerUserMod('create', array($user, $pass, $name, $mail, $grps))) {
870 list($user, $pass, $name, $mail, $grps) = $this->_retrieveUser(false);
874 if (!empty($grps)) $this->_filter['grps'] = str_replace(' ', '_', join('|', $grps));
/plugin/authchained/
H A Dauth.php272 * @param null|array $grps
275 public function createUser($user, $pass, $name, $mail, $grps = null) { argument
277 return $this->usermanager_auth->createUser($user, $pass, $name, $mail, $grps);

12