Project

General

Profile

Actions

Bug #5696

closed

pathQuery returns eml docs which have no public access granted

Added by gastil gastil about 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Category:
metacat
Target version:
Start date:
08/24/2012
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5696

Description

As far as I remember, non-public eml docs did not used to be returned in pathQuery result sets in earlier versions of metacat.
This is with
http://metacat.lternet.edu/knb/metacat?action=getversion
<version>2.0.3</version>

A pathQuery returns an eml doc which does not have public read access.
Example: knb-lter-sev.389.3

with
<access authSystem="knb" order="denyFirst" scope="document">
<allow>
<principal>uid=SEV, o=lter, dc=ecoinformatics, dc=org</principal>
<permission>all</permission>
</allow>
</access>

A pathQuery returned this in its result set:
<document>
<docid>knb-lter-sev.389.3</docid>
<docname>eml</docname>
<doctype>eml://ecoinformatics.org/eml-2.0.1</doctype>
<createdate>2005-07-29</createdate>
<updatedate>2012-08-22</updatedate>
<param name="@packageId">sev.00389.1</param>
<param name="dataset/title">Lightning Strike Data for New Mexico, 1989</param>
</document>

This may be related in part to bug #5553 (not sure).
The denyFirst may be part of the problem. The older revisions also had denyFirst.

Actions

Also available in: Atom PDF