Merge remote-tracking branch 'origin/v10/dev' into v11/dev
This commit is contained in:
@@ -334,7 +334,7 @@
|
||||
vm.disableUserButtonState = "busy";
|
||||
usersResource.disableUsers(vm.selection).then(function (data) {
|
||||
// update userState
|
||||
vm.selection.forEach(function (userId) {
|
||||
data.disabledUserIds.forEach(function (userId) {
|
||||
var user = getUserFromArrayById(userId, vm.users);
|
||||
if (user) {
|
||||
user.userState = "Disabled";
|
||||
@@ -808,6 +808,7 @@
|
||||
|
||||
if (user.userDisplayState && user.userDisplayState.key === "Invited") {
|
||||
vm.allowEnableUser = false;
|
||||
vm.allowDisableUser = false;
|
||||
}
|
||||
|
||||
if (user.userDisplayState && user.userDisplayState.key === "LockedOut") {
|
||||
|
||||
Reference in New Issue
Block a user