|
@@ 46-49 (lines=4) @@
|
| 43 |
|
if(!$oDocument->isExists()) |
| 44 |
|
{ |
| 45 |
|
$oComment = $oCommentModel->getComment($upload_target_srl); |
| 46 |
|
if($oComment->isExists() && $oComment->isSecret() && !$oComment->isGranted()) |
| 47 |
|
{ |
| 48 |
|
return new Object(-1, 'msg_not_permitted'); |
| 49 |
|
} |
| 50 |
|
|
| 51 |
|
$oDocument = $oDocumentModel->getDocument($oComment->get('document_srl')); |
| 52 |
|
} |
|
@@ 55-58 (lines=4) @@
|
| 52 |
|
} |
| 53 |
|
|
| 54 |
|
// document 권한 확인 |
| 55 |
|
if($oDocument->isExists() && $oDocument->isSecret() && !$oDocument->isGranted()) |
| 56 |
|
{ |
| 57 |
|
return new Object(-1, 'msg_not_permitted'); |
| 58 |
|
} |
| 59 |
|
|
| 60 |
|
// 모듈 권한 확인 |
| 61 |
|
if($oDocument->isExists()) |