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

Replace Paper Feature #113

Open
2 tasks
Tracked by #102
harshkhandeparkar opened this issue Jan 28, 2025 · 2 comments
Open
2 tasks
Tracked by #102

Replace Paper Feature #113

harshkhandeparkar opened this issue Jan 28, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@harshkhandeparkar
Copy link
Member

If a paper exists, admin dashboard should be able to replace it with a newly uploaded one.

  • Backend: either a new endpoint or an option of the edit endpoint
  • Frontend: frontend.
@harshkhandeparkar harshkhandeparkar added the enhancement New feature or request label Jan 28, 2025
@dipamsen
Copy link
Contributor

dipamsen commented Feb 24, 2025

admin dashboard should be able to replace it with a newly uploaded one.

Isn't that the same as deleting the old one? Or does this replacing preserve ID, etc?

@harshkhandeparkar
Copy link
Member Author

Isn't that the same as deleting the old one? Or does this replacing preserve ID, etc?

Simply replacing the pdf is the simplest option but we need to decide if we want rollback or not. Otherwise, preserving all info and creating a new entry while unapproving the old one seems like the safer (and more responsible) way of doing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants