sul-dlss / cocina-models

Cocina repository data model (implemented in Ruby)
https://sul-dlss.github.io/cocina-models/
3 stars 0 forks source link

Provide a public view of the data model for the access team #589

Open jcoyne opened 1 year ago

jcoyne commented 1 year ago

Why was this change made? 🤔

This is a refinement to the purl-fetcher API. This ensures that no items, collections or files with dark access are in the public representation. It also adds a link to the parent virtual object if any.

This moves the data about virtual objects in the XML into the data passed to the access team: https://github.com/sul-dlss/dor-services-app/blob/main/app/services/published_relationships_filter.rb#L36-L42

Details at https://docs.google.com/document/d/1GQY8QLwLNbSrw6RErFpj7HEpgvODqH81M0YOlPsVIY0/edit#

How was this change tested? 🤨

not tested yet.