Home
last modified time | relevance | path

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

12345678910>>...12

/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/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/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, $this->get_hidden_groups());
46 sort($groups);
48 return $groups;
53 if (is_string($groups)) {
[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/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/aclplusregex/_test/
H A Dacl.test.php69 * @param string[] $groups
72 public function testFullChain($id, $user, $groups, $expected) argument
80 $act->loadACLRules($user, $groups)
135 * @param string[] $groups
138 public function testFullChainNsRegex($id, $user, $groups, $expected) argument
146 $act->loadACLRules($user, $groups)
253 * @param string[] $groups
256 public function testLoadACLRules($user, $groups, $expect) argument
259 $this->assertEquals($expect, $act->loadACLRules($user, $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/ireadit/
H A Dhelper.php18 * @param array $groups
21 public static function users_set($users=[], $groups=[]) { argument
25 if (empty($users) && empty($groups)) {
32 } elseif (array_intersect($groups, $info['grps'])) {
47 $groups = $meta['groups'];
48 $users_set = self::users_set($users, $groups);
/plugin/pureldap/classes/
H A DGroupHierarchyCache.php61 $groups = $this->getGroupList();
62 file_put_contents($cachename, json_encode($groups));
63 return $groups;
77 $groups = [];
83 return $groups; // return what we have
88 $groups[$dn] = [];
91 $groups[$dn]['parents'] = $parents;
93 $groups[$parent]['children'][] = $dn;
98 return $groups;
/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/pureldap/_test/
H A DADClient.test.php103 $groups = $client->getGroups();
104 $this->assertGreaterThan(3, count($groups));
105 $this->assertContains('alpha', $groups);
106 $this->assertContains('beta', $groups);
107 $this->assertContains('gamma nested', $groups);
108 $this->assertContains('domain users', $groups);
119 $groups = $client->getGroups('alpha', ADClient::FILTER_EQUAL);
120 $this->assertCount(1, $groups);
121 $this->assertSame(['alpha'], array_values($groups));
/plugin/authplaincas/
H A Dplaincas.settings.php8 $groups = array(
13 return $groups;
50 $groups = array(
55 return $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.php65 $groups = $USERINFO['grps']; //current groups
68 $groups = $event->data['params'][1]['grps'];
79 $groups[] = $service;
81 $idx = array_search($service, $groups);
82 if ($idx !== false) unset($groups[$idx]);
85 $groups = array_unique($groups);
88 $event->data['params'][1]['grps'] = $groups;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudIdentity/
H A DSearchGroupsResponse.php33 public function setGroups($groups) argument
35 $this->groups = $groups;
42 return $this->groups;
H A DListGroupsResponse.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/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/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/acknowledge/
H A Dhelper.php48 * @param string $groups
51 public function auth_isMember($memberList, $user, $groups) argument
53 return auth_isMember($memberList, $user, explode('///', $groups));
128 * @param string[] $groups groups this user is in
131 public function isUserAssigned($page, $user, $groups) argument
142 return auth_isMember($assignees, $user, $groups);
221 * @param array $groups
224 public function getUserAssignments($user, $groups) argument
237 $result = $sqlite->query($sql, $user, $user, implode('///', $groups));
/plugin/authgooglesheets/vendor/google/apiclient-services/src/VMMigrationService/
H A DListGroupsResponse.php37 public function setGroups($groups) argument
39 $this->groups = $groups;
46 return $this->groups;
/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/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 …]

12345678910>>...12