Lines Matching refs:groups
45 $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;
149 …$line_permission = $this->_check_permission($groups, $acl_parts['subject'], $acl_parts['permission…
182 …$line_permission = $this->_check_permission($groups, $acl_parts['subject'], $acl_parts['permission…
222 …* @param string[] $groups A list of groups (including the username) to check
226 private function _check_permission($groups, $acl_subject, $acl_permission) { argument
241 if(! in_array($acl_subject, $groups)) {