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.dev3.tar.gz (26.9 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.dev3-py3-none-any.whl (56.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oarepo_rdm-1.0.0.dev3.tar.gz
  • Upload date:
  • Size: 26.9 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.dev3.tar.gz
Algorithm Hash digest
SHA256 47e1137f5d7c381928bf0c534d8a373b891622d9d5d41bc67e9b6c7e5cd8c08a
MD5 89abd1a96990729a85e45387f7386bed
BLAKE2b-256 26e492e1455602eb19b280943ae46a0d7b49955373ec37814d3b05366c5f719e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oarepo_rdm-1.0.0.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 861c7816da94a837d68935a98fedb8460a6c4694de7927d2bf6c8a2aacfdf63d
MD5 450eeb7a01b69878d87e5e2615817017
BLAKE2b-256 5f13a21b50618fd5518e759a26c3695deed917084c9cfcfcefafd51bb432c4ec

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