Bug #442
closedThere is no entry in xml_access table for access document itself
0%
Description
When we create a data package in Morpho and save it into metacat. But there is
no permission in xml_access table for access document itself.
Now we discard a permission rule - if there is no entry in xml_access table
for a document, this document will have same permission to data set permission
to the user. The rule now we are using is: if the there is no entry in
xml_access table for a document, if the user is owner, it has permission.
Otherwise, it doesn't have permission.
So we need to create entries for access document itself in xml_access table.
Updated by Jing Tao over 22 years ago
Method named endElement in AccessControlList class was revised and the code
for putting access document itself into xml_access table was added.
Now there are entries in xml_access table for access document id.