#2092 c122946 보완

This commit is contained in:
bnu 2017-05-31 14:25:57 +09:00 committed by Kijin Sung
parent 1233be446c
commit 3a031f53de

View file

@ -269,10 +269,13 @@ class fileModel extends file
}
// 모듈 권한 확인
$grant = $oModuleModel->getGrant($oModuleModel->getModuleInfoByModuleSrl($oDocument->get('module_srl')), $logged_info);
if(!$grant->access)
if($oDocument->isExists())
{
return $this->stop('msg_not_permitted');
$grant = $oModuleModel->getGrant($oModuleModel->getModuleInfoByModuleSrl($oDocument->get('module_srl')), $logged_info);
if(!$grant->access)
{
return $this->stop('msg_not_permitted');
}
}
$args = new stdClass();