summaryrefslogtreecommitdiff
path: root/app/Model/Acl.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-06-30 21:52:02 -0300
committerFrédéric Guillot <fred@kanboard.net>2014-06-30 21:52:02 -0300
commit06d0b7048ebcdfdf6e24eec3ac7dc8fb0327dd6f (patch)
treeeb006b4c560781186f1debd2437c02edf6008878 /app/Model/Acl.php
parentf70ac7d65fa0e7f1e6a9559242d9c141ba5c9eb3 (diff)
Merge pull-request: Github authentication #162
Diffstat (limited to 'app/Model/Acl.php')
-rw-r--r--app/Model/Acl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/Acl.php b/app/Model/Acl.php
index 035fd7c3..8a87a6b2 100644
--- a/app/Model/Acl.php
+++ b/app/Model/Acl.php
@@ -17,7 +17,7 @@ class Acl extends Base
* @var array
*/
private $public_actions = array(
- 'user' => array('login', 'check', 'google'),
+ 'user' => array('login', 'check', 'google', 'github'),
'task' => array('add'),
'board' => array('readonly'),
);
@@ -32,7 +32,7 @@ class Acl extends Base
'app' => array('index'),
'board' => array('index', 'show', 'assign', 'assigntask', 'save', 'check'),
'project' => array('tasks', 'index', 'forbidden', 'search'),
- 'user' => array('index', 'edit', 'update', 'forbidden', 'logout', 'index', 'unlinkgoogle'),
+ 'user' => array('index', 'edit', 'update', 'forbidden', 'logout', 'index', 'unlinkgoogle', 'unlinkgithub'),
'config' => array('index', 'removeremembermetoken'),
'comment' => array('create', 'save', 'confirm', 'remove', 'update', 'edit', 'forbidden'),
'file' => array('create', 'save', 'download', 'confirm', 'remove', 'open', 'image'),