mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-05 11:32:12 +09:00
module_srl의 숫자값 체크
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6543 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4c56a53da1
commit
7aaba42bd7
1 changed files with 2 additions and 4 deletions
|
|
@ -86,11 +86,9 @@
|
|||
// module model 객체 생성
|
||||
$oModuleModel = &getModel('module');
|
||||
|
||||
// 사이트 관리자이면 로그인 정보의 is_admin 에 'Y'로 세팅
|
||||
//if($oModuleModel->isSiteAdmin($logged_info)) $logged_info->is_admin = 'Y';
|
||||
|
||||
// XE에서 access, manager (== is_admin) 는 고정된 권한명이며 이와 관련된 권한 설정
|
||||
if(!$module_info->mid && Context::get('module_srl')) {
|
||||
$module_srl = (int)Context::get('module_srl');
|
||||
if(!$module_info->mid && $module_srl) {
|
||||
$request_module = $oModuleModel->getModuleInfoByModuleSrl(Context::get('module_srl'));
|
||||
if($request_module->module_srl == Context::get('module_srl')) {
|
||||
$grant = $oModuleModel->getGrant($request_module, $logged_info);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue