Merge pull-request #559
This commit is contained in:
commit
11e4b52711
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue