gluco-check
gluco-check copied to clipboard
Account deletion (GDPR, ...)
Is your feature request related to a problem? Please describe. Although we're way to small for legislation like GDPR to come after us, I think it's just good UX to give user who want to delete their information that option.
Describe the solution you'd like
- We could add another line to the footer (or somewhere else) that says, eg: "Delete my account". It could look like this.
- When a user clicks this link, we should show some message to ask for confirmation. It could say something along the lines of: "Are you sure you want to delete your account? If you're having trouble using Gluco Check, you may want to check out FAQ or our Discussion forum...."
- If the user confirms: add a new document to Firestore at the following location: '/deletion-requests/{user id}'.
This should then kick off a backend function that scrubs the user from our systems. - Sign the user out
Describe alternatives you've considered Currently, the 'official' way of deleting your info is logging in an entering a dummy url/token to overwrite the ones you entered previously.
Additional context I looked at the db of Nightscout Status for this, and it turns out there's actually a non-zero number of people who go through the trouble of entering dummy data to 'delete' their account. They may be few, but I still feel like we should offer them a clean exit if they want to.