mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
add modify permissions
This commit is contained in:
parent
e7b8c1d1df
commit
1dcf523450
2 changed files with 5 additions and 4 deletions
|
|
@ -1142,12 +1142,10 @@ class boardView extends board
|
|||
|
||||
function dispBoardUpdateLog()
|
||||
{
|
||||
$document_srl = Context::get('document_srl');
|
||||
$logged_info = Context::get('logged_info');
|
||||
$oDocumentModel = getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument($document_srl);
|
||||
$document_srl = Context::get('document_srl');
|
||||
|
||||
if($logged_info->member_srl != $oDocument->get('member_srl') && $this->grant->manager !== true)
|
||||
if($this->grant->update_view !== true)
|
||||
{
|
||||
return new Object(-1, 'msg_not_permitted');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue