diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-09-27 21:40:47 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-09-27 21:40:47 -0400 |
commit | 4aa99e949224279ad64be26806e2657e66bf5adf (patch) | |
tree | 0b727f03da6049a8e74738d180326eab41cd6aa0 /tests/units/AclTest.php | |
parent | 3fa549352ca13d020a8cffaaad0db81b7c66c5b3 (diff) |
Hide users menu for non-admins (pull-request #284)
Diffstat (limited to 'tests/units/AclTest.php')
-rw-r--r-- | tests/units/AclTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/AclTest.php b/tests/units/AclTest.php index e532d96c..83351616 100644 --- a/tests/units/AclTest.php +++ b/tests/units/AclTest.php @@ -90,7 +90,7 @@ class AclTest extends Base $this->assertFalse($acl->isPageAccessAllowed('user', 'remove')); $this->assertFalse($acl->isPageAccessAllowed('user', 'confirm')); $this->assertTrue($acl->isPageAccessAllowed('app', 'index')); - $this->assertTrue($acl->isPageAccessAllowed('user', 'index')); + $this->assertFalse($acl->isPageAccessAllowed('user', 'index')); $this->assertTrue($acl->isPageAccessAllowed('user', 'login')); $this->assertTrue($acl->isPageAccessAllowed('user', 'check')); $this->assertTrue($acl->isPageAccessAllowed('webhook', 'task')); |