diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-09-27 21:40:47 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-09-27 21:40:47 -0400 |
commit | 4aa99e949224279ad64be26806e2657e66bf5adf (patch) | |
tree | 0b727f03da6049a8e74738d180326eab41cd6aa0 /app/Model | |
parent | 3fa549352ca13d020a8cffaaad0db81b7c66c5b3 (diff) |
Hide users menu for non-admins (pull-request #284)
Diffstat (limited to 'app/Model')
-rw-r--r-- | app/Model/Acl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/Acl.php b/app/Model/Acl.php index f92b3021..8c57425d 100644 --- a/app/Model/Acl.php +++ b/app/Model/Acl.php @@ -34,7 +34,7 @@ class Acl extends Base 'app' => array('index'), 'board' => array('index', 'show', 'save', 'check', 'changeassignee', 'updateassignee', 'changecategory', 'updatecategory'), 'project' => array('tasks', 'index', 'forbidden', 'search', 'export', 'show', 'activity'), - 'user' => array('index', 'edit', 'forbidden', 'logout', 'index', 'show', 'external', 'unlinkgoogle', 'unlinkgithub', 'sessions', 'removesession', 'last', 'notifications', 'password'), + 'user' => array('edit', 'forbidden', 'logout', 'show', 'external', 'unlinkgoogle', 'unlinkgithub', 'sessions', 'removesession', 'last', 'notifications', 'password'), 'comment' => array('create', 'save', 'confirm', 'remove', 'update', 'edit', 'forbidden'), 'file' => array('create', 'save', 'download', 'confirm', 'remove', 'open', 'image'), 'subtask' => array('create', 'save', 'edit', 'update', 'confirm', 'remove'), |