def METHOD_NAME(
    order_with_lines,
    permission_group_all_perms_channel_USD_only,
    staff_api_client,
    channel_PLN,
):
    # given
    query = ORDER_LINE_DELETE_MUTATION
    permission_group_all_perms_channel_USD_only.user_set.add(staff_api_client.user)
    order = order_with_lines
    order.channel = channel_PLN
    order.status = OrderStatus.UNCONFIRMED
    order.save(update_fields=["status", "channel"])
    line = order.lines.first()
    line_id = graphene.Node.to_global_id("OrderLine", line.id)
    variables = {"id": line_id}
    # when
    response = staff_api_client.post_graphql(query, variables)
    # then
    assert_no_permission(response)