Merge pull-request #559
This commit is contained in:
@@ -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'),
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user