Gitlab Community Edition Instance

Commit 14769745 authored by mhellka's avatar mhellka
Browse files

Allow partial getArchiveInfo if sub-resources are unavailable.

Fix: Do not require list_files permission just to show the file count.
Change: Return a partial ArchiveInfo even if sub-resources requested with
'with' are not available due to access restrictions.

This change should help clients trying to get as much information as
possible with a single request and reduce complexity and latency when
viewing cdstar archives.
parent 7a22d7e4
Pipeline #118354 passed with stages
in 8 minutes and 11 seconds