Bug #7170
openIgnore the access part change in the EML sax parser classes when users use dataone api to update an eml object
0%
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.