Rename owner role to superadmin in UI bits
This commit is contained in:
@@ -29,7 +29,7 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
|
||||
{ id: 'user', name: 'User', disabled: false },
|
||||
{ id: 'usermanager', name: 'User Manager', disabled: true },
|
||||
{ id: 'admin', name: 'Administrator', disabled: true },
|
||||
{ id: 'owner', name: 'Owner', disabled: true }
|
||||
{ id: 'owner', name: 'Superadmin', disabled: true }
|
||||
];
|
||||
|
||||
$scope.allUsers = [];
|
||||
@@ -714,7 +714,7 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
|
||||
{ id: 'user', name: 'User', disabled: false },
|
||||
{ id: 'usermanager', name: 'User Manager', disabled: false },
|
||||
{ id: 'admin', name: 'Administrator', disabled: !$scope.user.isAtLeastAdmin },
|
||||
{ id: 'owner', name: 'Owner', disabled: !$scope.user.isAtLeastOwner }
|
||||
{ id: 'owner', name: 'Superadmin', disabled: !$scope.user.isAtLeastOwner }
|
||||
];
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user