private void updateUsers(Workspace workspace, List<ClientApiWorkspaceUpdateData.UserUpdate> userUpdates, User authUser) {
for (ClientApiWorkspaceUpdateData.UserUpdate update : userUpdates) {
LOGGER.debug("user update (%s): %s", workspace.getWorkspaceId(), update.toString());
String userId = update.getUserId();
WorkspaceAccess workspaceAccess = update.getAccess();
workspaceRepository.updateUserOnWorkspace(workspace, userId, workspaceAccess, authUser);
}
}