UCSCLibrary / dams_project_mgmt

DAMS purpose is to provide access to digitized and born-digital UCSC Special Collections content. This repository is used for project planning. It holds the task tickets and roadmap for the different projects under DAMS.
2 stars 0 forks source link

[3] Investigate current state of inheritance rules #514

Closed bkiahstroud closed 2 years ago

bkiahstroud commented 2 years ago

Summary

Inheritance Rules doc: link

bkiahstroud commented 2 years ago

Property-by-property investigation results: spreadsheet

bkiahstroud commented 2 years ago

The main logic for inheritance lives in the application code and can be found here:

It looks like whether a property gets inherited or not is determined by the inheritable and collection_inheritable settings in the metadata.yml file. All properties are set to inherit by default unless explicitly configured not to.

Properties only inherit when blank!

Currently, Works are the only objects that inherit. They can inherit values from both parent Works and Collections they are in. Collections do not inherit from parent Collections.