derive admin flag from roles
This commit is contained in:
@@ -26,8 +26,8 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
|
||||
$scope.userInfo = Client.getUserInfo();
|
||||
|
||||
$scope.roles = [
|
||||
{ id: '', name: 'User' },
|
||||
{ id: 'manage_users', name: 'User Manager' },
|
||||
{ id: 'user', name: 'User' },
|
||||
{ id: 'usermanager', name: 'User Manager' },
|
||||
{ id: 'admin', name: 'Administrator' },
|
||||
{ id: 'owner', name: 'Owner' }
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user