Merge pull-request #559
This commit is contained in:
@@ -22,6 +22,7 @@ class Acl extends Base
|
||||
'board' => array('readonly'),
|
||||
'project' => array('feed'),
|
||||
'webhook' => '*',
|
||||
'app' => array('colors'),
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user