Add user CSV import

This commit is contained in:
Frederic Guillot
2015-10-12 14:44:28 -04:00
parent e57386a183
commit e515f37435
20 changed files with 514 additions and 35 deletions

View File

@@ -17,6 +17,7 @@ class AclTest extends Base
'controller3' => '*',
'controller5' => '-',
'controller6' => array(),
'controllera' => '*',
);
$acl = new Acl($this->container);
@@ -30,6 +31,8 @@ class AclTest extends Base
$this->assertFalse($acl->matchAcl($acl_rules, 'controller4', 'anything'));
$this->assertFalse($acl->matchAcl($acl_rules, 'controller5', 'anything'));
$this->assertFalse($acl->matchAcl($acl_rules, 'controller6', 'anything'));
$this->assertTrue($acl->matchAcl($acl_rules, 'ControllerA', 'anything'));
$this->assertTrue($acl->matchAcl($acl_rules, 'controllera', 'anything'));
}
public function testPublicActions()