Project

General

Profile

Actions

Bug #653

closed

xml_access control table is not conisistent to access xml documents

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
10/24/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
653

Description

The access control table in ecoinfo, there are some rules which doesn't show
in xml_access file. For example, in nrs.165 (xml_access document) has only one
allow rule for owner. But in xml_access table, there are two allow rules(one
for owner, one for public). They are not consistent.

We tried to submit a new nrs datapackage from knb.ecoinformatics.org/knb/nrs.
It seemed working well: only create one allow rule for onwer. So we thought
somebody add another allow rule directly into xml_access table.

Moreover, I associated some access rules to modules which didn't have access
rule because they created by old version of Morpho. This means I created some
triples which don't exist in data set documents.

We need to fix the problem.

The approaches are:
1) Automatically finding the dataset docid list which need add access triples
and the access triples they need to add.
2) Automatically adding the access triples into dataset xml documents and
resubmit it(new version)
3) Automatically find access xml docid list which is not consitent to access
table and rebuild the access_table by resubmiting the access documents.

There are two options to do that: one is by perl, the other is by java.

Actions

Also available in: Atom PDF