Hide the list of artifacts on the artifacts page if access is not granted to download
Proposal
When we set the CI job config to restrict access to downloading artifacts using artifacts:access
, users can currently still view the list of downloadable files on the artifacts page. When they click the download button on that page, it returns a 404 so the user still can't download them. But we should still consider hiding the list entirely.
In the above screenshot, I can't download any of the artifacts except for the logs. Let's hide these other artifacts that I can't download.