mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Grant 그룹처리 보완 1844fa4
This commit is contained in:
parent
05b8e2e431
commit
01ef797c0b
1 changed files with 6 additions and 3 deletions
|
|
@ -2025,12 +2025,15 @@ class moduleModel extends module
|
|||
foreach($this->getModuleGrants($module_info->module_srl)->data as $val)
|
||||
{
|
||||
$checked[$val->name] = true;
|
||||
if($grant->{$val->name})
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// All user
|
||||
if($val->group_srl == 0)
|
||||
{
|
||||
$grant->{$val->name} = true;
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
@ -2073,7 +2076,7 @@ class moduleModel extends module
|
|||
{
|
||||
foreach($grant_list as $name => $item)
|
||||
{
|
||||
if(isset($checked[$name]))
|
||||
if(isset($checked[$name]) || $grant->{$name})
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue