mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
fixed module grant
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9623 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
764a56b362
commit
28efdf9307
1 changed files with 3 additions and 3 deletions
|
|
@ -136,10 +136,10 @@
|
|||
}
|
||||
} else {
|
||||
// have at least access grant
|
||||
if ($this->module == $module_info->module)
|
||||
if ($module_info->module == 'admin' || $this->module == $module_info->module)
|
||||
$grant = $oModuleModel->getGrant($module_info, $logged_info, $xml_info);
|
||||
else
|
||||
$grant->access = 1;
|
||||
else
|
||||
$grant->access = 1;
|
||||
}
|
||||
// display no permission if the current module doesn't have an access privilege
|
||||
//if(!$grant->access) return $this->stop("msg_not_permitted");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue