Project

General

Profile

Actions

Bug #7170

open

Ignore the access part change in the EML sax parser classes when users use dataone api to update an eml object

Added by Jing Tao over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
12/20/2016
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

In old Metacat api, an eml document contains the access control rules of both itself and the data files which are referenced. So our EML sax parser has the mechanism to check if the access control part of data files in the EML has changed when a user is trying to update an eml document. The reason is to avoid a scenario that a user, who only has the ALL permission on the eml but doesn't have the ALL permission to the data files, can update the access rule of the data file. I believe those rules are still needed when a client to use the old Metacat api to update a document.
However, to the dataone api, the access control rules are specified by the system metadata and the access rules on the EML object will be ignored. So we don't need the check if the EML sax parser is called by the dataone api.

Actions

Also available in: Atom PDF