diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-10-12 14:44:28 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-10-12 14:44:28 -0400 |
commit | e515f37435db6cf883215f13f02391d8b2107d47 (patch) | |
tree | 3df01bc0c420a2c497302c5a38aa9d724b2e764c /app/Model/Acl.php | |
parent | e57386a18393e85f073cccff70699ad9afc19119 (diff) |
Add user CSV import
Diffstat (limited to 'app/Model/Acl.php')
-rw-r--r-- | app/Model/Acl.php | 2 |
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]); } |