Project

General

Profile

Bug #7182

Allow partial package downloads when some of the objects are private

Added by Lauren Walker about 2 years ago.

Status:
New
Priority:
Normal
Category:
metacat
Target version:
-
Start date:
04/13/2017
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

When you try to download a package that has at least one private object, you get a 401 - Unauthorized response. When I am authorized to read at least one object in a package, I would expect to still be able to download the .zip package with those objects.

It's difficult for MetacatUI to tell when the "Download All" will fail, since it would need to check the /isAuthorized/{pid}?action=read result for every single object in the package, which can sometimes be >100. So right now we have an issue where users are getting a failed package download.

Also available in: Atom PDF