Adds hook_file_download() to allow private files for stubs.

Closes #3183345

Merge request reports

Loading