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

implemented unwithdraw specific preprint version #10964

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

bodintsov
Copy link
Contributor

Purpose

Allow to unwithdraw preprint versions in the admin app

Changes

TBD

QA Notes

TBD

Documentation

TBD

Side Effects

TBD

Ticket

(https://openscience.atlassian.net/browse/ENG-6208)

# Default to put it back in moderation if we don't know where it came from
preprint.machine_state = 'pending'

preprint.requests.all().delete()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added here code for deleting PreprintRequests, due to allow preprint to be public or other machine_state and not show users not valid info about preprint been withdrawn

@bodintsov bodintsov marked this pull request as ready for review February 7, 2025 15:29
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

Successfully merging this pull request may close these issues.

1 participant