Describe the issue or problem
I want to modify a submission file that I have already created with OJS API 3.4.0 to add its type File (eg. manuscript). Unfortunately, I cannot do it from PUT /api/v1/submissions/:submissionId/files/:submissionFileId, I got either the following message :
403 Forbidden
{
"error": "user.authorization.submissionFile",
“errorMessage”: “The current user is not authorized to access the specified submission file.”
}
or
403 Forbidden
{
"error": "user.authorization.roleBasedAccessDenied",
"errorMessage": "The current role does not have access to this operation."
}
Whereas I am a Journal Manager.
If I tried to modify this file through the UI : I got the following message :
The current role does not have access to this operation.
Steps I took leading up to the issue
I am using Postman with the following request :
PUT https://{{path_journal}/submissions/:submissionId/files/:submissionFileId?stageId=1
submissionId 17
submissionFileId 17
Authorisation :
Bearer token with a token API generated from the Journal Manager Profile
Body :
{
"genreId": 1
}
What application are you using?
OJS 3.4.0-9
Postman v11.80.3
Additional information
