1. 게시판/페이지 모듈의 개별 모듈 복사 기능의 잘못된 URL 수정

2. module_srl 값만 있을때 권한 설정을 제대로 가져오지 못하는 문제를 수정


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6465 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-06-03 05:12:41 +00:00
parent 354bf541f2
commit 4be13cc2fd
4 changed files with 10 additions and 10 deletions

View file

@ -90,7 +90,14 @@
//if($oModuleModel->isSiteAdmin($logged_info)) $logged_info->is_admin = 'Y';
// XE에서 access, manager (== is_admin) 는 고정된 권한명이며 이와 관련된 권한 설정
$grant = $oModuleModel->getGrant($module_info, $logged_info, $xml_info);
if(!$module_info->mid && Context::get('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);
}
} else {
$grant = $oModuleModel->getGrant($module_info, $logged_info, $xml_info);
}
// 현재 모듈의 access 권한이 없으면 권한 없음 표시
//if(!$grant->access) return $this->stop("msg_not_permitted");