summaryrefslogtreecommitdiff
path: root/app/Model/Acl.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-22 14:31:12 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-22 14:31:12 +0200
commitab1a4760ed5b35cf58fc6f3f4e3c31be4cff17f2 (patch)
tree757920b994d75df9490c2489e20513835913f465 /app/Model/Acl.php
parenteeb4688dcc7caafeaa020a3cd9d78d18aea30353 (diff)
Basic prototype to handle Github webhooks
Diffstat (limited to 'app/Model/Acl.php')
-rw-r--r--app/Model/Acl.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Model/Acl.php b/app/Model/Acl.php
index aea13e8c..f92b3021 100644
--- a/app/Model/Acl.php
+++ b/app/Model/Acl.php
@@ -18,9 +18,10 @@ class Acl extends Base
*/
private $public_actions = array(
'user' => array('login', 'check', 'google', 'github'),
- 'task' => array('add', 'readonly'),
+ 'task' => array('readonly'),
'board' => array('readonly'),
'project' => array('feed'),
+ 'webhook' => array('task', 'github'),
);
/**