From 9fbfa60398eff969769aff95d783a4d93cc3ea03 Mon Sep 17 00:00:00 2001 From: Alzbeta Pokorna Date: Wed, 30 Oct 2024 15:14:01 +0100 Subject: [PATCH 1/2] rdm service config --- common/services/config.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 From 564b7eccedc0a47956d53756ba00a46a6daaffb0 Mon Sep 17 00:00:00 2001 From: Alzbeta Pokorna Date: Tue, 12 Nov 2024 13:31:47 +0100 Subject: [PATCH 2/2] rdm variables --- invenio.cfg | 4 ++++ 1 file changed, 4 insertions(+) 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