def _remove_roles_from_user(self, request, project_id, user_id, current_role_ids):
    for id_to_delete in current_role_ids:
        api.keystone.remove_tenant_user_role(request, project=project_id, user=user_id, role=id_to_delete)
def _remove_roles_from_user(self, request, project_id, user_id, current_role_ids):
    for id_to_delete in current_role_ids:
        api.keystone.remove_tenant_user_role(request, project=project_id, user=user_id, role=id_to_delete)