mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix manager group not being given any scopes
This commit is contained in:
parent
08d6db7657
commit
63e2e9c681
1 changed files with 4 additions and 0 deletions
|
|
@ -2296,6 +2296,10 @@ class ModuleModel extends Module
|
||||||
else if(count($member_group) && in_array($val->group_srl, $member_group))
|
else if(count($member_group) && in_array($val->group_srl, $member_group))
|
||||||
{
|
{
|
||||||
$grant->{$val->name} = true;
|
$grant->{$val->name} = true;
|
||||||
|
if ($val->name === 'manager' && !$grant->scopes)
|
||||||
|
{
|
||||||
|
$grant->scopes = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue