Allow public access to colors stylesheet.

This commit is contained in:
Colin Williams
2015-01-29 08:34:07 +00:00
parent 72913c33d3
commit a3329ce0e8
2 changed files with 2 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ class Acl extends Base
'board' => array('readonly'), 'board' => array('readonly'),
'project' => array('feed'), 'project' => array('feed'),
'webhook' => '*', 'webhook' => '*',
'app' => array('colors'),
); );
/** /**

View File

@@ -37,6 +37,7 @@ class AclTest extends Base
$acl = new Acl($this->container); $acl = new Acl($this->container);
$this->assertTrue($acl->isPublicAction('board', 'readonly')); $this->assertTrue($acl->isPublicAction('board', 'readonly'));
$this->assertFalse($acl->isPublicAction('board', 'show')); $this->assertFalse($acl->isPublicAction('board', 'show'));
$this->assertTrue($acl->isPublicAction('app', 'colors'));
} }
public function testAdminActions() public function testAdminActions()