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

Feature: upload a document anonymously #275

Open
C4ptainCrunch opened this issue Nov 7, 2022 · 0 comments
Open

Feature: upload a document anonymously #275

C4ptainCrunch opened this issue Nov 7, 2022 · 0 comments
Labels

Comments

@C4ptainCrunch
Copy link
Contributor

C4ptainCrunch commented Nov 7, 2022

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant