Skip to main content

No project description provided

Project description

OARepo RDM

A set of runtime patches to enable RDM service to work with different metadata models. It replaces both search/search_drafts/scan/read methods to search/look into multiple models and for the methods that that take a pid delegates the call to a specialized per-model services.

It also patches the pid context of the RDMRecord/RDMDraft so that when a resolve is called on the record, an instance of a specialized record is returned.

This package depends on oarepo patches to invenio_rdm_records that bring the possibility to register custom service/resource in place of the default ones.

Permissions

For performance reasons, permissions for search/scan are evaluated on the rdm-records level, not on the specialized-service layer. This means that the permissions defined for the rdm-records service will apply to all requests, regardless of which specialized service is handling the request.

Please make sure that all the models are using the same permission policy and that this policy is configured in RDM_PERMISSION_POLICY config.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oarepo_rdm-1.0.0.dev2.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oarepo_rdm-1.0.0.dev2-py3-none-any.whl (35.0 kB view details)

Uploaded Python 3

File details

Details for the file oarepo_rdm-1.0.0.dev2.tar.gz.

File metadata

  • Download URL: oarepo_rdm-1.0.0.dev2.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for oarepo_rdm-1.0.0.dev2.tar.gz
Algorithm Hash digest
SHA256 7f316c3bc48bf2be13ddfab04ba3304ee891bc798bdf639777ac1f5dc761cfc5
MD5 e301e1558be7e8c124c43e2442646bb8
BLAKE2b-256 a7e0ab377f4a63418b69134502e35494e6da26c0a5be6051859b0a90f6fb8f50

See more details on using hashes here.

File details

Details for the file oarepo_rdm-1.0.0.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for oarepo_rdm-1.0.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 910745723cffe645ab68e8e3d58d8cf5c6eab77c19aa64659b0fe9ac010971dc
MD5 a8e74c3faad2778c755d68e930564b62
BLAKE2b-256 219497549f32c167426eff28b92af730158d2bf85e93ea834fafd37424e6bc47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page