Project

General

Profile

Task #6298

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 over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Start date:
12/12/2013
Due date:
% Done:

0%

Estimated time:
0.00 h

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

History

#1 Updated by Peter Slaughter over 5 years ago

  • translation missing: en.field_remaining_hours set to 0.0
  • Status changed from New to Resolved

#2 Updated by ben leinfelder over 5 years ago

  • Estimated time set to 0.00 h
  • Status changed from Resolved to In Progress

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.

#3 Updated by Peter Slaughter over 5 years ago

  • 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