summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Model/Acl.php1
-rw-r--r--tests/units/AclTest.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/Model/Acl.php b/app/Model/Acl.php
index f6c54814..91680248 100644
--- a/app/Model/Acl.php
+++ b/app/Model/Acl.php
@@ -22,6 +22,7 @@ class Acl extends Base
'board' => array('readonly'),
'project' => array('feed'),
'webhook' => '*',
+ 'app' => array('colors'),
);
/**
diff --git a/tests/units/AclTest.php b/tests/units/AclTest.php
index 41af8950..20101d47 100644
--- a/tests/units/AclTest.php
+++ b/tests/units/AclTest.php
@@ -37,6 +37,7 @@ class AclTest extends Base
$acl = new Acl($this->container);
$this->assertTrue($acl->isPublicAction('board', 'readonly'));
$this->assertFalse($acl->isPublicAction('board', 'show'));
+ $this->assertTrue($acl->isPublicAction('app', 'colors'));
}
public function testAdminActions()