Home
last modified time | relevance | path

Searched refs:groups (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/plugin/findologicxmlexport/vendor/jms/serializer/src/Exclusion/
H A DGroupsExclusionStrategy.php19 private $groups = []; variable in JMS\\Serializer\\Exclusion\\GroupsExclusionStrategy
28 if (empty($groups)) {
29 $groups = [self::DEFAULT_GROUP];
32 foreach ($groups as $group) {
40 $this->groups = $groups;
42 foreach ($groups as $group) {
64 if (!$property->groups) {
70 if (!$property->groups) {
98 $groups = $this->groups;
108 $groups = $groups[$path];
[all …]
/plugin/bez/mdl/
H A DUserFactory.php26 $groups = explode(',', $groups_s);
28 foreach($groups as &$group) {
32 return $groups;
38 $groups = array();
40 $groups = array_merge($groups, $data['grps']);
42 $groups = array_unique($groups);
44 $groups = array_diff($groups,
51 users_of_group($groups) global() argument
[all...]
/plugin/structgroup/helper/
H A Dauthgroup.php11 protected $groups = array(); variable in helper_plugin_structgroup_authgroup
18 $groups = [];
31 $groups[] = $grp;
34 return array_unique($groups);
46 … $groups = array_map(function($userinfo) { return $userinfo['grps']; }, $auth->retrieveUsers());
47 $groups = call_user_func_array('array_merge', $groups);
48 $groups = array_merge($groups, $this->loadGroupsFromAcl());
50 $this->groups = array_unique($groups);
59 $groups = $this->groups;
60 if ($filter != '') $groups = array_filter($groups, function ($group) use ($filter) {
[all …]
/plugin/aclregex/
H A Daction.php45 $groups = $event->data['groups']; // @var string[] $groups
76 if (! is_array($groups)) $groups = array();
79 if (auth_isadmin($user, $groups)) {
88 $groups = array_map('utf8_strtolower', $groups);
91 $groups = array_map(array($auth, 'cleanGroup'), (array) $groups);
94 foreach ($groups as &$group) {
99 $groups[] = '@ALL';
102 if ($user) $groups[] = $user;
222 …* @param string[] $groups A list of groups (including the username) to check
226 private function _check_permission($groups, $acl_subject, $acl_permission) { argument
[all …]
/plugin/sneakyindexfix/
H A Daction.php39 $groups = & $data['groups'];
55 if(!is_array($groups)) $groups = array();
59 $groups = array_map('utf8_strtolower', $groups);
62 $groups = array_map(array($auth, 'cleanGroup'), (array) $groups);
66 foreach($groups as &$group) {
74 $groups[] = '@ALL';
77 if($user) $groups[] = $user;
89 if(!in_array($acl[1], $groups)) {
/plugin/ckgdoku/fckeditor/editor/filemanager/connectors/php/
H A Dcheck_acl.php58 if(!is_array($groups)) $groups = array();
62 $groups = array_map('utf8_strtolower', $groups);
65 $groups = array_map('auth_cleanGroup', (array) $groups);
69 $cnt = count($groups);
71 $groups[$i] = '@'.auth_nameencode($groups[$i]);
77 if($user || count($groups)) {
79 $groups[] = '@ALL';
81 if($user) $groups[] = $user;
83 $groups[] = '@ALL';
95 if(!in_array($acl[1], $groups)) {
[all …]
/plugin/ckgedit/fckeditor/editor/filemanager/connectors/php/
H A Dcheck_acl.php58 if(!is_array($groups)) $groups = array();
62 $groups = array_map('utf8_strtolower', $groups);
65 $groups = array_map('auth_cleanGroup', (array) $groups);
69 $cnt = count($groups);
71 $groups[$i] = '@'.auth_nameencode($groups[$i]);
77 if($user || count($groups)) {
79 $groups[] = '@ALL';
81 if($user) $groups[] = $user;
83 $groups[] = '@ALL';
95 if(!in_array($acl[1], $groups)) {
[all …]
/plugin/aclplusregex/_test/
H A Dacl.test.php
/plugin/pureldap/classes/
H A DGroupHierarchyCache.php12 * Keeps a copy of all AD groups and provides recursive operations
14 * All groups are cached as full DN here
61 $groups = $this->getGroupList();
62 file_put_contents($cachename, json_encode($groups, JSON_THROW_ON_ERROR));
63 return $groups;
77 $groups = [];
83 return $groups; // return what we have
88 $groups[$dn] = [];
91 $groups[$dn]['parents'] = $parents;
93 $groups[
[all...]
H A DADClient.php126 $groups = [];
132 return $groups; // we return what we got so far
137 $groups[$entry->getDn()->toString()] = $this->cleanGroup($this->attr2str($entry->get('cn')));
141 asort($groups);
142 return $groups;
167 // memberOf can not be checked with a substring match, so we need to get the right groups first
168 $groups = $this->getGroups($match['grps'], $filtermethod);
169 $groupDNs = array_keys($groups);
236 * Initializes the Group Cache for nested groups
296 'grps' => $this->getUserGroups($entry), // we always return groups becaus
[all...]
/plugin/pureldap/_test/
H A DADClient.test.php
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Sheets/
H A DEditors.php30 public $groups; variable in Google\\Service\\Sheets\\Editors
53 public function setGroups($groups) argument
55 $this->groups = $groups;
62 return $this->groups;
H A DManualRule.php29 public function setGroups($groups) argument
31 $this->groups = $groups;
38 return $this->groups;
/plugin/authnc/
H A Dauth.php100 $groups = array();
102 $groups[] = (string)$grp;
107 $USERINFO['grps'] = $groups;
263 $groups = array();
265 $groups[] = (string)$grp;
267 $usr['grps'] = $groups;
324 if (! $xml || ! $xml->data->groups) {
328 $groups = array();
329 foreach ($xml->data->groups->element as $grp) {
331 $groups[(string)$grp] = (string)$grp;
[all …]
/plugin/oauth/action/
H A Duser.php11 * This manages profile changes and allows the user to change their oauth groups.
56 * Save groups for all the services a user has enabled
71 // we want to modify the user's groups
72 $groups = $USERINFO['grps']; //current groups
74 // something already defined new groups
75 $groups = $event->data['params'][1]['grps'];
86 $groups[] = $service;
88 $idx = array_search($service, $groups);
89 if ($idx !== false) unset($groups[
[all...]
/plugin/evesso/
H A Dhelper.php136 * @param array $groups
140 public function inGroup($groups, $names, $empty = true) { argument
153 if (in_array($validGroup, $groups, true)) {
160 * @param array $groups
164 public function checkGroups($groups) { argument
165 if (in_array('admin', $groups, true)) { //Always allow admins
173 if ($this->inGroup($groups, $require)) {
/plugin/authplaincas/
H A Dplaincas.settings.php8 $groups = array(
13 return $groups;
50 $groups = array(
55 return $groups;
/plugin/authshibboleth/plugin/authshibboleth/
H A Dauth.php569 $groups = array();
591 $groups = array_merge($groups, $sourceGroups);
600 return $groups;
613 $groups = array();
620 return $groups;
632 return $groups;
655 return $groups;
668 $groups = array();
683 return $groups;
696 $groups = array();
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Metadata/Driver/yml/
H A DBlogPost.yml11 groups: [comments, post]
16 groups: [comments, post]
26 groups: [post]
29 groups: [post]
35 groups: [comments]
41 groups: [post]
/plugin/fckg/fckeditor/editor/filemanager/connectors/php/
H A Dcheck_acl.php38 * @param array $groups Array of groups the user is in
41 function auth_aclcheck($id,$user,$groups, $_auth=1){ argument
52 if(!is_array($groups)) $groups = array();
62 $cnt = count($groups);
64 $groups[$i] = '@'.auth_nameencode($groups[$i]);
70 if($user || count($groups)){
72 $groups[] = '@ALL';
74 if($user) $groups[] = $user;
76 $regexp = join('|',$groups);
/plugin/goto/
H A Daction.php48 $groups = $this->getConf('group');
49 $groups = preg_replace("/\s+/","",$groups);
50 $groups = explode(',',$groups);
52 foreach($groups as $grp) {
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudIdentity/
H A DListGroupsResponse.php33 public function setGroups($groups) argument
35 $this->groups = $groups;
42 return $this->groups;
H A DSearchGroupsResponse.php33 public function setGroups($groups) argument
35 $this->groups = $groups;
42 return $this->groups;
H A DGetMembershipGraphResponse.php45 public function setGroups($groups) argument
47 $this->groups = $groups;
54 return $this->groups;
/plugin/authdjango/
H A Dauth.php87 $groups = $this->_getUserGroups($username);
92 $groups[] = 'user';
93 $USERINFO['grps'] = $groups;
111 $groups[$a] = $row[0];
115 return $groups;
124 $groups[$a] = $row[0];
128 return $groups;

12345678910>>...13