Task #6298
closed
Story #6296: authMN SM.accessPolicy out of synch with CN and replicaMN
Call CN.setAccessPolicy() whenever access control rules are updated in Metacat
Added by ben leinfelder about 11 years ago.
Updated about 11 years ago.
Description
When EML is processed and access control rules within it are added to Metacat, these changes should be submitted to the CN.
The action=setaccess Metacat servlet API is another point where the access policy can be manipulated.
Starting point for looking at this behavior (in main Metacat project):
edu.ucsb.nceas.metacat.accesscontrol.XMLAccessAccess
edu.ucsb.nceas.metacat.accesscontrol.AccessControlForSingleFile
- Status changed from New to Resolved
- translation missing: en.field_remaining_hours set to 0.0
- Status changed from Resolved to In Progress
- Estimated time set to 0.00 h
I like the approach in EML210SAXHandler for synching the data pids after the transaction has been committed. I think the EML200SAXHandler also needs similar logic since we still technically support that version of EML even if its access control rules are defined slightly differently. Both versions can control access rules on data objects stored in Metacat so it's important that they are treated the same.
- Status changed from In Progress to Resolved
EML200SaxHandler updated to sync access policies of data pids if access rules updated in <additionalMetadata>
Also available in: Atom
PDF