mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 12:49:55 +09:00
플래닛의 권한 관리 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4891 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
36d8d97ad9
commit
dee1a23dc1
4 changed files with 14 additions and 2 deletions
|
|
@ -45,7 +45,8 @@
|
|||
$logged_info = Context::get('logged_info');
|
||||
if($logged_info->is_admin == 'Y') return true;
|
||||
$group_list = $logged_info->group_list;
|
||||
$group_srls = array_keys($group_list);
|
||||
if(count($group_list)) $group_srls = array_keys($group_list);
|
||||
else return false;
|
||||
|
||||
foreach($grant as $srl) if(in_array($srl, $group_srls)) return true;
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue