datakind / permanent-colandr-back

DataCorps - Colandr Tool resources
https://www.colandrapp.com/signin
15 stars 1 forks source link

Cannot delete incorrectly uploaded PDFs #27

Open augustincaitlin opened 3 years ago

augustincaitlin commented 3 years ago

When a PDF is uploaded, you cannot remove it. Currently, users need to email the colandr team and we remove it on the back end (they must send the URL of the page with the PDF open)

bdewilde commented 1 year ago

just took a peek, and it looks like this functionality has always existed in the back-end API: https://github.com/datakind/permanent-colandr-back/blob/main/colandr/api/resources/fulltext_uploads.py#L109-L157

do you know if the issue is a bug/error in this code, or simply a lack of corresponding functionality in the front-end?

bdewilde commented 1 year ago

hey @sophiaharms , tagging you here -- i think this is just a missing front-end feature. if so, how difficult would it be to implement this functionality?