Bug #2928
closed
Set permissions on individual inserted files
Added by Chris Barteau about 17 years ago.
Updated about 17 years ago.
Description
When a new data package is created, loop thru all uploaded files and set the accesses to the same as that set for the metadata file.
Modified MetaCatServlet.java "handleSetAccessAction" method to check to see if the document is a member of an EML package. If it is not, then don't enforce the rule that access must be applied via the EML metadata rather than this method.
Also, modified ClientViewHelper.java "handlePackageUpload", to loop thru all of the data documents and apply the same access as the FGDC metadata document.
Original Bugzilla ID was 2928
Also available in: Atom
PDF