Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent authors from editing submission metadata and galleys after a submisson is rejected #10486

Open
alexxxmendonca opened this issue Oct 1, 2024 · 2 comments

Comments

@alexxxmendonca
Copy link
Contributor

alexxxmendonca commented Oct 1, 2024

Describe the bug
After a submission is rejected, autors are able to edit submission metadata and galleys. They can remove and add authors freely and remove PDF files as shown in this History:

image

To Reproduce
Steps to reproduce the behavior:

  1. Reject any submission
  2. Login as the author of that submission
  3. Notice how as the author you can edit the metadata (add/delete authors) and add/delete galleys.

There are undesired consequences such as losing record of the manuscript files, authors associated to that submission and moreover, plugins such as the Author History (https://github.com/lepidus/authorsHistory) is unabled to fetch the data since it's been removed from the database, making the results shown by the plugin to be faulty. Moreover, this negatively affects statistics as well.

What application are you using?
Open Preprint Systems 3.3.0.14

This is what the submission looks like after all the exclusions:
image

image
image

@alexxxmendonca alexxxmendonca changed the title Authors are able to edit submission metadata and galleys even after a submisson is rejected Prevent authors from editing submission metadata and galleys after a submisson is rejected Oct 1, 2024
YvesLepidus added a commit to lepidus/pkp-lib that referenced this issue Dec 11, 2024
…on from editing metadata in the submission.

Signed-off-by: yves <yves@lepidus.com.br>
YvesLepidus added a commit to lepidus/pkp-lib that referenced this issue Dec 12, 2024
@YvesLepidus
Copy link
Contributor

I made an implementation proposal to fix this issue in this PR.

YvesLepidus added a commit to lepidus/pkp-lib that referenced this issue Dec 12, 2024
… a Submission object instead of a submission identifier and updates calls to this method.

Signed-off-by: yves <yves@lepidus.com.br>
YvesLepidus added a commit to lepidus/omp that referenced this issue Dec 12, 2024
…bmission object instead of submission identifier.

Signed-off-by: yves <yves@lepidus.com.br>
YvesLepidus added a commit to lepidus/ops that referenced this issue Dec 12, 2024
…bmission object instead of submission identifier.

Signed-off-by: yves <yves@lepidus.com.br>
YvesLepidus added a commit to lepidus/pkp-lib that referenced this issue Dec 13, 2024
…tadata editing restriction only to these cases.

Signed-off-by: yves <yves@lepidus.com.br>
YvesLepidus added a commit to lepidus/pkp-lib that referenced this issue Dec 18, 2024
…sive role of author/reader

Signed-off-by: yves <yves@lepidus.com.br>
YvesLepidus added a commit to lepidus/pkp-lib that referenced this issue Jan 27, 2025
YvesLepidus added a commit to lepidus/pkp-lib that referenced this issue Jan 27, 2025
YvesLepidus added a commit to lepidus/pkp-lib that referenced this issue Jan 27, 2025
YvesLepidus added a commit to lepidus/pkp-lib that referenced this issue Jan 28, 2025
@asmecher
Copy link
Member

Thanks, @YvesLepidus! I've made a few more comments on your PR.

YvesLepidus added a commit to lepidus/pkp-lib that referenced this issue Feb 4, 2025
…whether the context of the request is the same as the context of the submission.
YvesLepidus added a commit to lepidus/pkp-lib that referenced this issue Feb 4, 2025
…whether the context of the request is the same as the context of the submission.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants