Skip to content

Commit

Permalink
Merge pull request #6531 from NateWr/i6529_master
Browse files Browse the repository at this point in the history
#6529 Fix author revision permissions with resubmit decision
  • Loading branch information
NateWr authored Jan 5, 2021
2 parents 3777276 + 50fc0bf commit d3984fe
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ function effect() {
foreach ($decisions as $decision) {
if ($decision['decision'] == SUBMISSION_EDITOR_DECISION_ACCEPT
|| $decision['decision'] == SUBMISSION_EDITOR_DECISION_PENDING_REVISIONS
|| $decision['decision'] == SUBMISSION_EDITOR_DECISION_NEW_ROUND) {
|| $decision['decision'] == SUBMISSION_EDITOR_DECISION_NEW_ROUND
|| $decision['decision'] == SUBMISSION_EDITOR_DECISION_RESUBMIT) {
$assignedFileStages[] = $this->_fileStage;
break;
}
Expand Down
30 changes: 30 additions & 0 deletions locale/en_US/api.po
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,33 @@ msgstr "The public files directory was not found or files can not be saved to it

msgid "api.submissionFiles.400.assocTypeAndIdRequired"
msgstr "You can not modify the file association without passing an assocType and assocId."

msgid "api.submissionFiles.400.badDependentFileAssocType"
msgstr "You can not associate a file from this file stage with another submission file."

msgid "api.submissionFiles.400.badNoteAssocType"
msgstr "You can not associate a file from this file stage with discussion note."

msgid "api.submissionFiles.400.badReviewAssignmentAssocType"
msgstr "You can not associate a file from this file stage with a review assignment."

msgid "api.submissionFiles.400.badReviewRoundAssocType"
msgstr "You can not associate a file from this file stage with a review round."

msgid "api.submissionFiles.400.missingReviewRoundAssocType"
msgstr "You must specify a review round when requesting files in a review stage."

msgid "api.submissionFiles.400.noFileStageId"
msgstr "You must provide a file stage."

msgid "api.submissionFiles.400.reviewRoundSubmissionNotMatch"
msgstr "The review round you provided is not part of this submission."

msgid "api.submissionFiles.403.unauthorizedFileStageId"
msgstr "You are not allowed to access these files."

msgid "api.submissionFiles.403.unauthorizedFileStageIdWrite"
msgstr "You are not allowed to add and edit these files."

msgid "api.submissionFiles.403.unauthorizedReviewRound"
msgstr "You are not allowed to access files in this review round."

0 comments on commit d3984fe

Please sign in to comment.