diff --git a/common/services/config.py b/common/services/config.py index 2839a718..bda9f2e9 100644 --- a/common/services/config.py +++ b/common/services/config.py @@ -1,9 +1,7 @@ -from invenio_drafts_resources.services import ( - RecordServiceConfig as InvenioRecordDraftsServiceConfig, -) from common.services.filtered_record_list import FilteredRecordList +from invenio_rdm_records.services.config import RDMRecordServiceConfig -class FilteredResultServiceConfig(InvenioRecordDraftsServiceConfig): +class FilteredResultServiceConfig(RDMRecordServiceConfig): result_list_cls = FilteredRecordList diff --git a/invenio.cfg b/invenio.cfg index 0dc0fd5a..987b28c3 100644 --- a/invenio.cfg +++ b/invenio.cfg @@ -575,3 +575,7 @@ DATACITE_CREDENTIALS_DEFAULT = { DATACITE_CREDENTIALS = { # no special community handling here for now } + +RDM_PERSISTENT_IDENTIFIERS = {} +RDM_USER_MODERATION_ENABLED = False +"""Flag to enable creation of user moderation requests on specific user actions.""" \ No newline at end of file