Our Journal has just been upgraded to v3.5.0.3
Currently authors receive an error that they cannot submit in this user role.
We have checked all the suggested tips from an earlier query (OCt 2025) to fix the error but no luck. Was this issue resolved at the time?
The admin can login as an author and submit a paper for them however if the authors log in and try they get the ‘submit as’ option and when they select a role they recevie the error.
Hi @MarieNZGA , as you have mentioned about the issue as You are not allowed to submit in this user role from the Submit As, my guess is that this is from the submission start page like the following screenshot, right ?
So this is the case when an user has multi role (like author, editor, JM, etc).
If that is case you are facing, then I think you are probably affected by this issue Authors cannot access workflow on some servers · Issue #12309 · pkp/pkp-lib · GitHub .
We still haven’t able to fully track it down but it’s related to DB server configuration. Seems the issue arise from this line at pkp-lib/api/v1/submissions/PKPSubmissionController.php at main · pkp/pkp-lib · GitHub , e.g. return $userGroup->id === $params[$userGroupIdPropName]; .
Here try to apply the a patch as return $userGroup->id == $params[$userGroupIdPropName];, basically == instead of === and see if that solve your issue .
Regards
PKP Dev Team
Hi all,
This has been filed and resolved here:
opened 05:00AM - 30 Jun 26 UTC
closed 03:20PM - 30 Jun 26 UTC
### Valid Title
- [x] I have updated the title to accurately reflect the bug de… scription
### Description
On some servers, users cannot submit a work if they have more than one role associated with them besides author, such as Journal Editor or Manager Editor, when they select the author role. When attempting to submit, the following message appears: "You are not allowed to submit in this user role."
Under Apache it behaves correctly, but with LiteSpeed it returns that error.
This is similar to #12309
### Steps to Reproduce
1. Login with an user with multiple role (Author+Journal Editor + Journal Manager or similar)
2. Navigate to 'Dashboard'
3. Click on 'Start a New Submission'
4. Complete submission form
5. Select role 'Author' in the 'Submit as' option
6. Click on 'Begin Submission'
### Expected Result
Next step of submission
### Actual Result
You get error "You are not allowed to submit in this user role."
### Environment Details
OS platform Linux
PHP version 8.2.31
Apache version LiteSpeed
Database driver mysql
Database server version 11.4.12-MariaDB
### Application Version
OJS 3.5.0-3
### Logs
No response
### Additional Information
<img width="3839" height="1840" alt="Image" src="https://github.com/user-attachments/assets/6648d2ca-33ff-40cd-bd36-409c16f13264" />
I tried to find the reference for this error in the API file (lib\pkp\api\v1\submissions\PKPSubmissionController.php) (api.submissions.400.invalidSubmitAs).
On line 629, there's the following comparison, which worked correctly when the strict equality (===) was replaced with loose equality (==).
return $userGroup->id === $params[$userGroupIdPropName];
I understand that this problem will occur for all instances of strict equality whenever running with LiteSpeed, so it should be modified for all applicable cases. Would that be correct?
The problem here is how many occurrences of this type can exist on the platform that cause similar behaviors
The fix will be included in the 3.5.0-5 releases.
Regards,
Alec Smecher
Public Knowledge Project Team