mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-220: Rely on managementButtons directive to handle redirect to user list after save.
This commit is contained in:
@@ -416,10 +416,8 @@ angular.module('manage').controller('manageUserController', ['$scope', '$injecto
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Upon success, save any changed permissions
|
// Upon success, save any changed permissions
|
||||||
return permissionService.patchPermissions($scope.dataSource, $scope.user.username, $scope.permissionsAdded, $scope.permissionsRemoved)
|
return permissionService.patchPermissions($scope.dataSource, $scope.user.username,
|
||||||
.then(function patchedUserPermissions() {
|
$scope.permissionsAdded, $scope.permissionsRemoved);
|
||||||
$location.url('/settings/users');
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user