Project

General

Profile

Bug #647

fix access control triples in nrs and obfs packages

Added by Matt Jones over 16 years ago. Updated over 16 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
10/23/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
647

Description

Some current packages fail to provide a triple link for the access control
document itself, so nobody but the owner has access to that document. Need to
add this and check that the load-dataset.cgi script is creating it properly.

History

#1 Updated by Jing Tao over 16 years ago

Matt added code in load-dataset.cgi and fixed the bug.

I tested in dev and new cgi will added a triple that access file points
itself. But metacat will added a records to xml_access table for access file
too, so it created duplicated records in xml_access table for access file
itself. I modified the code in Metacat (DBSAXHandler and
AccessControlList.java ) and fixed it. Moreover,it still can handle the
package without triple that access file points itself.

So we should install the new version of Metacat and new CGI in same time.
Otherwise, maybe duplicate records will be created into xml_access table.

#2 Updated by Jing Tao over 16 years ago

Bug is fixed. Now Metacat will add records to xml_access table only depend on
access file and triples.

#3 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 647

Also available in: Atom PDF