mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
issue 1369 fixed
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10165 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3e9a630811
commit
0a408c8e76
1 changed files with 10 additions and 2 deletions
|
|
@ -244,9 +244,17 @@
|
|||
$oWidgetController->recompileWidget($content);
|
||||
}
|
||||
|
||||
function procPageAdminArticleDocumentInsert(){
|
||||
function procPageAdminArticleDocumentInsert()
|
||||
{
|
||||
$logged_info = Context::get('logged_info');
|
||||
if ($logged_info->is_admin != 'Y')return new Object(-1, 'msg_not_permitted');
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$grant = $oModuleModel->getGrant($this->module_info, $logged_info);
|
||||
|
||||
if (!$grant->manager)
|
||||
{
|
||||
return new Object(-1, 'msg_not_permitted');
|
||||
}
|
||||
|
||||
$obj = Context::getRequestVars();
|
||||
$obj->module_srl = $this->module_info->module_srl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue