summaryrefslogtreecommitdiff
path: root/app/ServiceProvider/AuthenticationProvider.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-13 15:38:35 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-13 15:38:35 -0500
commit6161eaef9e107ddbfc104753eb5d48434de3b824 (patch)
tree6a689458e0705c8da272712b71358ccd992f8a8b /app/ServiceProvider/AuthenticationProvider.php
parent567d623446d7e98393fb542c88d6d3b18b05cf6f (diff)
Enable/Disable users
Diffstat (limited to 'app/ServiceProvider/AuthenticationProvider.php')
-rw-r--r--app/ServiceProvider/AuthenticationProvider.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/ServiceProvider/AuthenticationProvider.php b/app/ServiceProvider/AuthenticationProvider.php
index 9b5cdbe9..c2f7a5c4 100644
--- a/app/ServiceProvider/AuthenticationProvider.php
+++ b/app/ServiceProvider/AuthenticationProvider.php
@@ -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;
}