summaryrefslogtreecommitdiff
path: root/app/Model/Acl.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-11 20:51:40 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-11 20:51:40 -0500
commit76019d76287f174cb6bf81fe052dc5c5c53be46c (patch)
tree51398e06b6a96b9b91e4a90ce7871d44f93a4a70 /app/Model/Acl.php
parent0cd31abbc4e520d93bc4a0f5480dc898bbe5f25b (diff)
Add project owner support (allow user management to a regular user), see #316
Diffstat (limited to 'app/Model/Acl.php')
-rw-r--r--app/Model/Acl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/Acl.php b/app/Model/Acl.php
index 4a07d116..b8353b58 100644
--- a/app/Model/Acl.php
+++ b/app/Model/Acl.php
@@ -32,7 +32,7 @@ class Acl extends Base
*/
private $user_actions = array(
'app' => array('index', 'preview', 'status'),
- 'project' => array('index', 'show', 'exporttasks', 'exportdaily', 'share', 'edit', 'update', 'users', 'remove', 'duplicate', 'disable', 'enable', 'activity', 'search', 'tasks', 'create', 'save'),
+ 'project' => array('index', 'show', 'exporttasks', 'exportdaily', 'share', 'edit', 'update', 'users', 'remove', 'duplicate', 'disable', 'enable', 'activity', 'search', 'tasks', 'create', 'save', 'revoke', 'setowner', 'allow'),
'board' => array('index', 'show', 'save', 'check', 'changeassignee', 'updateassignee', 'changecategory', 'updatecategory', 'movecolumn', 'edit', 'update', 'add', 'confirm', 'remove', 'subtasks', 'togglesubtask', 'attachments', 'comments', 'description'),
'user' => array('edit', 'forbidden', 'logout', 'show', 'external', 'unlinkgoogle', 'unlinkgithub', 'sessions', 'removesession', 'last', 'notifications', 'password'),
'comment' => array('create', 'save', 'confirm', 'remove', 'update', 'edit', 'forbidden'),