DocHub icon indicating copy to clipboard operation
DocHub copied to clipboard

Feature: upload a document anonymously

Open C4ptainCrunch opened this issue 3 years ago • 0 comments

This is a suggestion for the workshop on the 16/11/2022, please don't assign it to yourself or work on it before this date, it is intended as an exercise for the participants.

Context: some users want to upload their documents but don't want their name to appear on DocHub.

UI proposal: We could add a checkbox in the upload form that the user can check if they want an anonymous upload

Implementation proposal (spoiler alert)
  • A: make document.user nullable and store null as the user for anonymous uploads and update the templates to display the null value (if we do this, it's irreversible, so add a warning on the checkbox)
  • B: add a new anonymous field on document and add a condition to the templates to hide the user in the interface (if we do this, also add the checkbox on the edit form so it can be reversed)

C4ptainCrunch avatar Nov 07 '22 21:11 C4ptainCrunch