/dokuwiki/inc/Remote/Response/ |
D | User.php | 17 public $groups; variable in dokuwiki\\Remote\\Response\\User 27 * @param string[] $groups 29 public function __construct($login = '', $name = '', $mail = '', $groups = []) argument 38 $this->groups = $groups; 52 $this->groups = $this->groups ?: $USERINFO['grps']; 58 $this->groups = $this->groups ?: $userData['grps']; 62 $this->isadmin = auth_isAdmin($this->login, $this->groups); 63 $this->ismanager = auth_isManager($this->login, $this->groups);
|
/dokuwiki/lib/plugins/authad/adLDAP/classes/ |
D | adLDAPComputers.php | 115 $groups = $this->groups($computerName, array("memberof"), $recursive); 118 if (in_array($group, $groups)){ 132 public function groups($computerName, $recursive = NULL) function in adLDAPComputers 140 …$groups = $this->adldap->utilities()->niceNames($info[0]["memberof"]); //presuming the entry retur… 143 foreach ($groups as $id => $groupName){ 145 $groups = array_merge($groups, $extraGroups); 149 return $groups;
|
D | adLDAPContacts.php | 106 public function groups($distinguishedName, $recursive = NULL) function in adLDAPContacts 114 …$groups = $this->adldap->utilities()->niceNames($info[0]["memberof"]); //presuming the entry retur… 117 foreach ($groups as $id => $groupName){ 119 $groups = array_merge($groups, $extraGroups); 123 return $groups; 196 $groups = $this->groups($distinguisedName, array("memberof"), $recursive); 199 if (in_array($group, $groups)){
|
D | adLDAPUtils.php | 60 * @param array $groups 63 public function niceNames($groups) argument 67 for ($i=0; $i<$groups["count"]; $i++){ // For each group 68 $line = $groups[$i];
|
D | adLDAPUsers.php | 190 public function groups($username, $recursive = NULL, $isGUID = false) function in adLDAPUsers 198 …$groups = $this->adldap->utilities()->niceNames($info[0]["memberof"]); // Presuming the entry retu… 201 foreach ($groups as $id => $groupName){ 203 $groups = array_merge($groups, $extraGroups); 207 return $groups; 304 $groups = $this->groups($username, $recursive, $isGUID); 307 if (in_array($group, $groups)) {
|
D | adLDAPGroups.php | 317 $groups = $info[0]["member"]; 318 if (!is_array($groups)) { 324 for ($i=0; $i<$groups["count"]; $i++){ 325 …tCategory=group)(distinguishedName=" . $this->adldap->utilities()->ldapSlashes($groups[$i]) . "))"; 332 …ategory=group)(distinguishedName=" . $this->adldap->utilities()->ldapSlashes($groups[$i]) . "))"; 478 $groups = $info[0]["memberof"]; 479 if ($groups) { 480 $groupNames = $this->adldap->utilities()->niceNames($groups);
|
/dokuwiki/lib/plugins/usermanager/ |
D | remote.php | 28 * @param string[] $groups The groups the user should be in 36 public function createUser($user, $name, $mail, $groups, $password = '', $notify = false) argument 68 if (!is_array($groups) || $groups === []) { 69 $groups = null; 72 $ok = (bool)$auth->triggerUserMod('create', [$user, $password, $name, $mail, $groups]);
|
D | admin.php | 269 $groups = implode(', ', $grps); 282 … echo '<td>' . hsc($name) . '</td><td>' . hsc($mail) . '</td><td>' . hsc($groups) . '</td>'; 386 $groups = ''; 391 if (!empty($grps)) $groups = implode(',', $grps); 454 $groups,
|
/dokuwiki/lib/plugins/authpdo/_test/ |
D | sqlite.test.php | 99 $groups = $auth->selectGroups(); 100 $this->assertArrayHasKey('user', $groups); 101 $this->assertEquals(1, $groups['user']['gid']); 102 $this->assertArrayHasKey('admin', $groups); 103 $this->assertEquals(2, $groups['admin']['gid']); 107 $groups = $auth->selectGroups(); 108 $this->assertArrayHasKey('test', $groups); 109 $this->assertEquals(4, $groups['test']['gid']);
|
D | mysql.test.php | 155 $groups = array_merge($newuser['grps'], array($conf['defaultgroup'])); 156 $this->assertEquals($groups, $check['grps'], $info); 176 $groups = array_merge($user['grps'], array($conf['defaultgroup'])); 177 $this->assertEquals($groups, $check['grps'], $info);
|
/dokuwiki/inc/ |
D | auth.php | 558 * @param array $groups List of groups the user is in 566 function auth_ismanager($user = null, $groups = null, $adminonly = false, $recache = false) argument 584 if (is_null($groups)) { 587 $groups = (array) $USERINFO['grps']; 589 $groups = $auth->getUserData($user); 590 $groups = $groups ? $groups['grps'] : []; 596 $cachekey = serialize([$user, $adminonly, $groups]); 599 $ok = auth_isMember($conf['superuser'], $user, $groups); 603 $ok = auth_isMember($conf['manager'], $user, $groups); 620 * @param array $groups List of groups the user is in [all …]
|
/dokuwiki/lib/plugins/authplain/ |
D | auth.php | 114 $groups = implode(',', $grps); 115 $userline = [$user, $pass, $name, $mail, $groups]; 344 $groups = []; 348 $groups = array_merge($groups, array_diff($info['grps'], $groups)); 350 Sort::ksort($groups); 353 return array_splice($groups, $start, $limit); 355 return array_splice($groups, $start); 431 $groups = array_values(array_filter(explode(",", $row[4]))); 436 $users[$row[0]]['grps'] = $groups;
|
/dokuwiki/conf/ |
D | users.auth.php.dist | 9 # login:passwordhash:Real Name:email:groups,comma,separated
|
D | acl.auth.php.dist | 10 # If your auth backend allows special char like spaces in groups
|
D | mysql.conf.php.example | 12 * TABLE groups 48 $conf['plugin']['authmysql']['TablesToLock']= array("users", "users AS u","groups", "groups AS g", … 69 JOIN groups AS g ON g.gid=ug.gid 89 /* This statement is used to get all groups a user is member of. The 90 * result should be a table containing all groups the given user is 98 FROM groups g, users u, usergroup ug 124 LEFT JOIN groups AS g ON ug.gid=g.gid"; 154 $conf['plugin']['authmysql']['addGroup'] = "INSERT INTO groups (name) 173 $conf['plugin']['authmysql']['delGroup'] = "DELETE FROM groups 199 * (a user quits membership of all groups). [all …]
|
/dokuwiki/lib/plugins/authpdo/ |
D | auth.php | 456 $groups = array_keys($this->selectGroups()); 457 if ($groups === false) return []; 460 return array_splice($groups, $start); 462 return array_splice($groups, $start, $limit); 553 $groups = [$conf['defaultgroup']]; // always add default config 560 $groups[] = $row['group']; 566 $groups = array_unique($groups); 567 Sort::sort($groups); 568 return $groups; 584 $groups = []; [all …]
|
/dokuwiki/inc/Remote/ |
D | LegacyApiCore.php | 351 $groups = $userStruct['groups'] ?? []; 363 if (!is_array($groups) || $groups === []) { 364 $groups = null; 367 $ok = $auth->triggerUserMod('create', [$user, $password, $name, $mail, $groups]); 425 public function legacyAclCheck($id, $user = null, $groups = null) argument 427 return $this->aclCheck($id, (string)$user, (string)$groups);
|
D | ApiCore.php | 205 * @param string[] $groups array of groups 209 public function aclCheck($page, $user = '', $groups = []) argument 219 if ($groups === []) { 222 $groups = []; 224 $groups = $userinfo['grps']; 227 return auth_aclcheck($page, $user, $groups);
|
/dokuwiki/lib/plugins/usermanager/lang/en/ |
D | import.txt | 4 The columns must contain, in order: user-id, full name, email address and groups.
|
/dokuwiki/lib/plugins/acl/ |
D | admin.php | 459 $groups = [ltrim($who, '@')]; 464 $groups = []; 466 $groups = $info['grps']; 471 $perm = auth_aclcheck($check, $user, $groups);
|
/dokuwiki/lib/plugins/authad/ |
D | auth.php | 245 …$info['grps'] = $adldap->user()->groups($this->getUserName($user), (bool) $this->opts['recursive_g…
|
/dokuwiki/vendor/geshi/geshi/ |
D | CHANGELOG | 263 * Removed duplicate entries from keyword groups of VIM language file (Segaja) 266 * Added some keywords for VB; split into multiple groups (leejkennedy, BenBE) 351 requires matching groups for itself (BenBE) 421 * Moved symbol-lookalike sequences from keyword groups to separate symbol group 469 * Reworked Keyword groups for MySQL to allow for more configuration (BenBE) 476 … * Fixed Doc-URL getting reparsed by highlighted keywords of other groups (BenBE, Jordi Boggiano) 538 * Ignoring empty keyword groups when highlighting (milian)
|
D | THANKS | 4 I owe these people/groups my thanks for help with GeSHi. Thanks, guys!
|