summaryrefslogtreecommitdiff
path: root/app/Model/Acl.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/Acl.php')
-rw-r--r--app/Model/Acl.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Model/Acl.php b/app/Model/Acl.php
index 675ca36e..d05e4f77 100644
--- a/app/Model/Acl.php
+++ b/app/Model/Acl.php
@@ -88,6 +88,7 @@ class Acl extends Base
*/
private $admin_acl = array(
'user' => array('index', 'create', 'save', 'remove', 'authentication'),
+ 'userimport' => '*',
'config' => '*',
'link' => '*',
'currency' => '*',
@@ -117,6 +118,7 @@ class Acl extends Base
*/
public function matchAcl(array $acl, $controller, $action)
{
+ $controller = strtolower($controller);
$action = strtolower($action);
return isset($acl[$controller]) && $this->hasAction($action, $acl[$controller]);
}