pulibrary / figgy

Valkyrie-based digital repository backend.
Other
36 stars 4 forks source link

Prevent deletion of Numismatics resources until all related resources are detached #5793

Closed eliotjordan closed 9 months ago

eliotjordan commented 1 year ago

For the following resource types, prevent deleting a resource until all related resources are detached:

Numismatics::Monogram Numismatics::Accession Numismatics::Firm Numismatics::Person Numismatics::Place Numismatics::Reference

Related to https://github.com/pulibrary/figgy/issues/5557

tpendragon commented 1 year ago

We're deprioritizing this, because we're currently able to restore these items back to their original resources since it doesn't clean up relationships when they're deleted. That being said, we should do this so we can make it so the relationships are cleaned up.