def METHOD_NAME(
    staff_api_client,
    order_with_lines,
    permission_group_all_perms_channel_USD_only,
    channel_PLN,
):
    # given
    permission_group_all_perms_channel_USD_only.user_set.add(staff_api_client.user)
    order = order_with_lines
    order_lines = [line for line in order.lines.all()]
    # Only lines in draft order can be deleted
    order.status = OrderStatus.DRAFT
    order.channel = channel_PLN
    order.save(update_fields=["status", "channel"])
    variables = {
        "ids": [
            graphene.Node.to_global_id("OrderLine", order_line.id)
            for order_line in order_lines
        ]
    }
    # when
    response = staff_api_client.post_graphql(MUTATION_DELETE_ORDER_LINES, variables)
    # then
    assert_no_permission(response)