mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-16 09:20:53 -05:00
parent
61fd8caa93
commit
a722615d9b
1 changed files with 3 additions and 5 deletions
|
|
@ -211,11 +211,9 @@ class Metadata
|
|||
|
||||
public function isMemberOfAllowedGroups(User $user)
|
||||
{
|
||||
foreach ($this->listAllowedGroups() as $groups) {
|
||||
foreach ($groups as $group) {
|
||||
if ($user->isMemberOf($group)) {
|
||||
return true;
|
||||
}
|
||||
foreach ($this->listAllowedGroups() as $group) {
|
||||
if ($user->isMemberOf($group)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue