mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix #1599 카테고리 권한을 검사하지 않던 문제 고침
This commit is contained in:
parent
02499c5a2a
commit
04147e7606
1 changed files with 5 additions and 0 deletions
|
|
@ -800,6 +800,11 @@ class documentController extends document
|
|||
{
|
||||
$category_list = DocumentModel::getCategoryList($obj->module_srl);
|
||||
if(!$category_list[$obj->category_srl]) $obj->category_srl = 0;
|
||||
|
||||
if(!$category_list[$obj->category_srl]->grant)
|
||||
{
|
||||
return new BaseObject(-1, 'msg_not_permitted');
|
||||
}
|
||||
}
|
||||
|
||||
// Change the update order
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue