Fix visibility of attachment files
To reproduce:
-
Create a submission
-
Assign editors
-
Invite a reviewer
-
Log in as the reviewer
-
Upload a file using one of the "Attach file" buttons
-
Log out then back in as an editor
-
Pull up the Control Panel
Expected: there's a visible link to download the uploaded material
Actual: there's a stuck "Uploading..." message, and the uploaded material cannot be downloaded and viewed.
Closes xpub/xpub#221 (closed)