Enable/Disable users
This commit is contained in:
@@ -134,7 +134,8 @@ class AuthenticationProvider implements ServiceProviderInterface
|
||||
$acl->add('Projectuser', '*', Role::APP_MANAGER);
|
||||
$acl->add('Twofactor', 'disable', Role::APP_ADMIN);
|
||||
$acl->add('UserImport', '*', Role::APP_ADMIN);
|
||||
$acl->add('User', array('index', 'create', 'save', 'authentication', 'remove'), Role::APP_ADMIN);
|
||||
$acl->add('User', array('index', 'create', 'save', 'authentication'), Role::APP_ADMIN);
|
||||
$acl->add('UserStatus', '*', Role::APP_ADMIN);
|
||||
|
||||
return $acl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user