NCEAS / morpho

Morpho metadata editor
GNU General Public License v2.0
3 stars 1 forks source link

NDP wizard: Do not save AccessPolicy in EML #989

Closed mbjones closed 6 years ago

mbjones commented 6 years ago

Author Name: ben leinfelder (ben leinfelder) Original Redmine Issue: 5829, https://projects.ecoinformatics.org/ecoinfo/issues/5829 Original Date: 2013-01-29 Original Assignee: ben leinfelder


When you step through the New Data Package wizard, the access policy can be entered. This ends up in the EML file, but we decided it should only be in the SystemMetadata since that is the authoritative version of the access rules from now on.

mbjones commented 6 years ago

Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2013-01-30T02:03:42Z


It's a little convoluted, but works: we collect the access rules in the wizard and add them to the complete ordered map that is used to create the data package dom (EML tree). Then we rip the access part out of it and stick it in the SystemMetadata when the wizard completes.

mbjones commented 6 years ago

Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:31:48Z


Original Bugzilla ID was 5829