OJS 3.4.0.6: Regular Users Cannot Upload Files in Review Stage

Environment:

  • Nginx 1.23
  • MySQL 8.0
  • PHP 8
  • OJS 3.4.0.6

Note:

  • I understand OJS may perform better with Apache, so I also tested with Apache and encountered the exact same issue.

Problem:

  1. Newly registered users can successfully upload files during the initial submission stage. However, they cannot upload files in the Review stage. Any file upload-related action triggers the errors: "You are not allowed to add and edit these files." and "You are not authorized to access the requested resource."
  • This occurs even when I set the regular user’s permissions to be identical to the ojsadmin user.
  • There is a timing dependency: if a user submits an article first and then has their permissions set to match ojsadmin, they still cannot upload files.
  • Conversely, if a user registers, has their permissions set to match ojsadmin, and then submits an article, they can upload files throughout all subsequent stages.
  1. The ojsadmin account can upload files without any issues. However, all other accounts, even with identical permissions, cannot upload files in the Review stage.
  2. Even more perplexing is that there are no error logs to indicate the problem, leaving me completely clueless.

Attempts Made:

  1. Set session_check_ip = Off in config.inc.php.
  2. Cleared all website caches using the ojsadmin account.
  3. Tested in incognito mode.
  4. The OJS system has not been recently upgraded; it was migrated from another Apache server to Nginx.

I am seeking help from the community. Thank you!

Hi @masses7338,

Have you checked Users & Roles - settings? What do you have for the author there? What stages of the workflow do you have as authors having access to?

-Roger
PKP Team

Hi
I am facing the same problem

We also have this problem, and the roles seem to be properly allocated.