From a3329ce0e8f63c42cdd90b28ee32a5938160a1fe Mon Sep 17 00:00:00 2001 From: Colin Williams Date: Thu, 29 Jan 2015 08:34:07 +0000 Subject: Allow public access to colors stylesheet. --- app/Model/Acl.php | 1 + tests/units/AclTest.php | 1 + 2 files changed, 2 insertions(+) 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() -- cgit v1.2.3