Project

General

Profile

Bug #5621

Need change the access order type from denyFirst to allowFirst in kepler when it generate emls

Added by Jing Tao about 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
general
Target version:
Start date:
06/07/2012
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5621

Description

When kepler uploads kar xml and kar files to the metacat repository, the two files will be associated with eml files which has the access rules.

In the access part of those eml files, the access order type is denyFirst. However, Metacat 2.0.0 doesn't support denyFirst - it will ignore the access rules if the order is denyFirst. Even tough the kepler says those kar xml and kar files are public readable, it will ends up that they are non-public readable.

So i changed the order type from denyFirst to allowFirst in the two files in the svn trunk:

trunk/modules/repository/src/org/kepler/kar/UploadToRepository.java
trunk/modules/provenance/src/org/kepler/provenance/kar/UploadKarToRepositoryNoGUI.java

When kepler-library is upgraded to metacat-2.0.0, the kepler-2.3 can't generate any public readable kar xml and kar file.

History

#1 Updated by Derik Barseghian about 7 years ago

Sounds like patches will have to be issued for all relevant versions of kepler at the time of metacat upgrade, and an email announcement sent telling people they need to install the patch if they want to keep using the official repository or some other 2.0.0 metacat.

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 5621

Also available in: Atom PDF