mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
#2092 c122946 보완
This commit is contained in:
parent
1233be446c
commit
3a031f53de
1 changed files with 6 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue