Lines Matching defs:groups
13 * 2) for each line apply the user/group regex to the users login and groups
21 * 6) combine all groups in a single regular expression (most significant is first)
40 /** @var int used to uniquely name capture groups */
66 $groups = $event->data['groups'];
73 $this->ruleCache[$user] = $this->rulesToRegex($this->loadACLRules($user, $groups));
107 if (!is_string($key)) continue; // we only care bout named groups
121 * @param string[] $groups
124 protected function loadACLRules($user, $groups)
126 $entities = $this->createUserGroupEntities($user, $groups);
129 // get all rules that apply to the user and their groups
166 * @param string[] $groups
169 protected function createUserGroupEntities($user, $groups)
171 array_walk($groups, function (&$gr) {
174 $entities = (array)$groups;
183 * @param string[] $entities List of username and groups
229 // we abuse named groups to know the for the rule later