def METHOD_NAME(
    minimal_record, parent, identity_simple, users
):
    record = RDMRecord.create(minimal_record, parent=parent)
    record.parent["access"]["grants"] = [
        {"subject": "user", "id": "-1337", "level": "view"}
    ]
    component = AccessComponent(current_rdm_records.records_service)
    with pytest.raises(ValidationError):
        component.create(identity_simple, minimal_record, record)
    with pytest.raises(ValidationError):
        component.update_draft(identity_simple, minimal_record, record)