OJS 3.3 reviewer can't see file uploaded by editor on their behalf

The case is as follows: the reviewer couldn’t login into OJS due to personal reasons, so she asked the editors to upload the review on their behalf and provided the review file. The editors attached the review file to the reviewer’s review (not by logging as the reviewer, but from their editorial account). Now when the reviewer logs into OJS, she can see that the review is completed, and she can also see the file under Reviewer Files (Step 3 of the review), but she can neither download nor Edit the file. When Edit is clicked, the window.alert-looking popup says “The current role does not have access to this operation.”. When the file name is clicked, instead of downloading the file, the browser opens JSON with the same message.

Is this behavior expected? IMHO the reviewer had better have access to the files attached on their behalf to their reviews.

The OJS version is 3.3.0.10 (yeah, I know).

Hi @voffch,

The first thing you could try is checking that you have the roles configured appropriately: https://docs.pkp.sfu.ca/learning-ojs/3.3/en/users-and-roles#permissions-and-roles

Does the reviewer role as you have it setup have access to there review stage according to your settings?

If that doesn’t work, I would check your PHP error logs, sometimes that "“The current role does not have access to this operation.” is producing errors behind the scenes that are not obvious.

-Roger
PKP Team

The reviewer has access to the review stage, and there’s nothing in the error logs.

I’ve just recreated the issue under OJS 3.3.0.22. Steps:

  1. Create a new submission using some author account
  2. Log in as an editor, assign self to the submission, send the submission to review
  3. Assign a reviewer to the submission. This reviewer is called a
  4. Immediately after that, from the editor account, click Review details

and add some file there

  1. Log in as the reviewer a, select the submission assigned to “me”. Whoops! I can’t even click through the tabs (nothing happens, there’s nothing in the logs, no request is sent to the server). This is a completely new issue, guess I had to “agree to review” to reproduce the original one.

  1. Log out as the reviewer, log in as the editor. Assign a new reviewer. Don’t do anything else.
  2. Log in as the new reviewer, select the submission, agree to review and click “save for later”.
  3. Log in as the editor. Repeat Step 4, upload the file, click Confirm.
  4. Log in as the new reviewer. Select the submission. Now you can see the file uploaded by the editor

but you can’t download it, with the errors as in the original post.