Merge pull-request #559

This commit is contained in:
Frederic Guillot 2015-01-29 17:46:07 -05:00
commit 11e4b52711
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -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()