Skip to content

Commit

Permalink
config: vocabularies Datastream common OpenAIRE
Browse files Browse the repository at this point in the history
  • Loading branch information
ptamarit committed Oct 15, 2024
1 parent f1bd532 commit 831c65d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions invenio_app_rdm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,15 @@
from invenio_vocabularies.contrib.awards.datastreams import (
VOCABULARIES_DATASTREAM_WRITERS as AWARDS_WRITERS,
)
from invenio_vocabularies.contrib.common.openaire.datastreams import (
VOCABULARIES_DATASTREAM_READERS as COMMON_OPENAIRE_READERS,
)
from invenio_vocabularies.contrib.common.openaire.datastreams import (
VOCABULARIES_DATASTREAM_TRANSFORMERS as COMMON_OPENAIRE_TRANSFORMERS,
)
from invenio_vocabularies.contrib.common.openaire.datastreams import (
VOCABULARIES_DATASTREAM_WRITERS as COMMON_OPENAIRE_WRITERS,
)
from invenio_vocabularies.contrib.common.ror.datastreams import (
VOCABULARIES_DATASTREAM_READERS as COMMON_ROR_READERS,
)
Expand Down Expand Up @@ -728,6 +737,7 @@ def files_rest_permission_factory(obj, action):
VOCABULARIES_DATASTREAM_READERS = {
**VOCABULARIES_DATASTREAM_READERS,
**NAMES_READERS,
**COMMON_OPENAIRE_READERS,
**COMMON_ROR_READERS,
**AWARDS_READERS,
**FUNDERS_READERS,
Expand All @@ -739,6 +749,7 @@ def files_rest_permission_factory(obj, action):
VOCABULARIES_DATASTREAM_TRANSFORMERS = {
**VOCABULARIES_DATASTREAM_TRANSFORMERS,
**NAMES_TRANSFORMERS,
**COMMON_OPENAIRE_TRANSFORMERS,
**COMMON_ROR_TRANSFORMERS,
**AWARDS_TRANSFORMERS,
**FUNDERS_TRANSFORMERS,
Expand All @@ -753,6 +764,7 @@ def files_rest_permission_factory(obj, action):
**FUNDERS_WRITERS,
**AWARDS_WRITERS,
**AFFILIATIONS_WRITERS,
**COMMON_OPENAIRE_WRITERS,
**COMMON_ROR_WRITERS,
**SUBJECTS_WRITERS,
}
Expand Down

0 comments on commit 831c65d

Please sign in to comment.