Project

General

Profile

Actions

Bug #475

closed

Associate access doc to some docid which doesn't have entry in xml_access table in knb

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

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
metacat
Target version:
Start date:
04/17/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
475

Description

Currently, some document in xml_document table doesn't have entries in
xml_access table. This is okay during the old access policy.

But we changed the access policy( see bug 437 ) and if there is no entry in
xml_access table, except owner, other person can not access it.

So we need to associate with access policy in xml_access table for these doc
ids.

Actions #1

Updated by Jing Tao over 22 years ago

A new java file named AssociateAccessPolicy was created. When we run main
method, the docid which doesn't have a entry in xml_access table will be
associate one.
The policy is:
If it belong to data set, associate the dataset file acces rule for it.
If it not belong to any dataset, default rule will associate it: owner has full
permission and public have read permission.
It Workes fine it test data base. We need to talk with administrator to backup
Oracle database in KNB. Then run it.

Actions #2

Updated by Jing Tao over 22 years ago

We changed idea and don't want the porgram work. We hope the owner of the data
package use morpho to open it and assign access rule for the documents. Then
save it. So Morpho need the new feature.

For some imergency situation, we can insert some entries into xml_access talbe
directly.

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 475

Actions

Also available in: Atom PDF