BISERVER-10090 Any user can Download files from the repository, they
just need read permission
Adding defensive code
Merge pull request #877 from mdamour1976/master

BISERVER-10090 Any user can Download files from the repository, they just need read permission