mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
PHRAS-508_acl-cache
- wip
This commit is contained in:
@@ -43,7 +43,7 @@ class Users implements ControllerProviderInterface, ServiceProviderInterface
|
||||
|
||||
$controllers->before(function () use ($firewall) {
|
||||
$firewall->requireAccessToModule('admin')
|
||||
->requireRight('manageusers');
|
||||
->requireRight(\ACL::CANADMIN);
|
||||
});
|
||||
|
||||
$controllers->match('/rights/', 'controller.admin.users:editRightsAction')
|
||||
|
Reference in New Issue
Block a user