#1198 임시 저장글이 표시되지 않게 함

권한이 있는 사람들만 임시 저장글을 VIEW 에서 볼 수 있게 수정
This commit is contained in:
MinSoo Kim 2015-02-16 15:58:47 +09:00 committed by bnu
parent 510fc05c1f
commit 8c32b15967

View file

@ -267,6 +267,16 @@ class boardView extends board
}
}
// if the document is TEMP saved, check Grant
if($oDocument->getStatus() == 'TEMP')
{
$logged_info = Context::get('logged_info');
if(!$oDocument->isGranted())
{
$oDocument = $oDocumentModel->getDocument(0);
}
}
}
else
{