def METHOD_NAME(curator, community, record_community, service):
    """Test curator permissions to delete."""
    record = record_community.create_record()
    data = {"records": [{"id": record.pid.pid_value}]}
    errors = service.delete(curator.identity, str(community.id), data)
    assert errors == []