diff --git a/invenio.cfg b/invenio.cfg index 2d4bf59..4a64cf0 100644 --- a/invenio.cfg +++ b/invenio.cfg @@ -37,6 +37,7 @@ from invenio_cern_sync.users.profile import CERNUserProfileSchema from invenio_oauthclient.views.client import auto_redirect_login from invenio_cern_sync.sso import cern_remote_app_name, cern_keycloak +from invenio_rdm_records.config import RDM_PERSISTENT_IDENTIFIERS, RDM_PARENT_PERSISTENT_IDENTIFIERS from invenio_vocabularies.config import VOCABULARIES_NAMES_SCHEMES as DEFAULT_VOCABULARIES_NAMES_SCHEMES def _(x): # needed to avoid start time failure with lazy strings @@ -189,6 +190,10 @@ DATACITE_PREFIX = "" DATACITE_TEST_MODE = True DATACITE_DATACENTER_SYMBOL = "" +RDM_PERSISTENT_IDENTIFIERS["doi"]["required"] = False +RDM_PERSISTENT_IDENTIFIERS["doi"]["ui"]["default_selected"] = "not_needed" # "yes", "no" or "not_needed" +RDM_PARENT_PERSISTENT_IDENTIFIERS["doi"]["required"] = False + # Authentication - Invenio-Accounts and Invenio-OAuthclient # ========================================================= # See: https://inveniordm.docs.cern.ch/customize/authentication/