mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
issue 1993 grant does not check when module_srl is not exist.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10908 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7508f2272d
commit
dd1db009c6
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<@brief r?php
|
||||||
/**
|
/**
|
||||||
* @class ModuleObject
|
* @class ModuleObject
|
||||||
* @author NHN (developers@xpressengine.com)
|
* @author NHN (developers@xpressengine.com)
|
||||||
|
|
@ -334,7 +334,7 @@
|
||||||
|
|
||||||
if(isset($this->xml_info->action->{$this->act}) && method_exists($this, $this->act)) {
|
if(isset($this->xml_info->action->{$this->act}) && method_exists($this, $this->act)) {
|
||||||
// Check permissions
|
// Check permissions
|
||||||
if(!$this->grant->access){
|
if($this->module_srl && !$this->grant->access){
|
||||||
return $this->stop("msg_not_permitted_act");
|
return $this->stop("msg_not_permitted_act");
|
||||||
}
|
}
|
||||||
// integrate skin information of the module(change to sync skin info with the target module only by seperating its table)
|
// integrate skin information of the module(change to sync skin info with the target module only by seperating its table)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue