Skip to content

[ENG-8247] Ability to delete draft preprints from database #11191

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

Conversation

ihorsokhanexoft
Copy link
Contributor

@ihorsokhanexoft ihorsokhanexoft commented Jun 20, 2025

Purpose

User should be able to delete draft preprints, so that we don't save them in database

Changes

Added delete method.
User can delete a preprint only if it's in initial state, so it means this preprint is a draft

Ticket

https://openscience.atlassian.net/browse/ENG-8247?atlOrigin=eyJpIjoiYzdkN2MwNDU5N2NkNDk5ZmI5Y2FmYWE0MDFkNTVjYTciLCJwIjoiaiJ9

@brianjgeiger brianjgeiger changed the base branch from feature/pbs-25-10 to feature/pbs-25-13 June 30, 2025 14:24
@brianjgeiger brianjgeiger merged commit ef9c076 into CenterForOpenScience:feature/pbs-25-13 Jun 30, 2025
6 checks passed
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.

2 participants