mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +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
|
||||
return permissionService.patchPermissions($scope.dataSource, $scope.user.username, $scope.permissionsAdded, $scope.permissionsRemoved)
|
||||
.then(function patchedUserPermissions() {
|
||||
$location.url('/settings/users');
|
||||
});
|
||||
return permissionService.patchPermissions($scope.dataSource, $scope.user.username,
|
||||
$scope.permissionsAdded, $scope.permissionsRemoved);
|
||||
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user