sul-dlss / cocina-models

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

Validate admin policy access templates #572

Closed mjgiarlo closed 1 year ago

mjgiarlo commented 1 year ago

Why was this change made? 🤔

Connects to sul-dlss/argo#3944

This commit extends the rich validation of DRO and Collection access options to AdminPolicy access templates so that it is not possible to set invalid options in the access template (which is copied to all governed DROs).

How was this change tested? 🤨