medic / cht-core

The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
https://communityhealthtoolkit.org
GNU Affero General Public License v3.0
438 stars 209 forks source link

Ability to delete local database #1347

Open garethbowen opened 9 years ago

garethbowen commented 9 years ago

Provide a way for a user to easily (but not too easily) delete their local pouchdb medic instance. This is useful for data security if a user is going to give their phone away, or if you're using a public computer. It's also useful for demos and developers.

This is an infrequent use case so it shouldn't be prominent in the screen. It's also potentially destructive so be sure to have a confirm step (dialog or whatever).

For bonus points, use the last sync time in #1270 in the confirm message to make it clear how much data is going to be lost.

nice-snek commented 7 years ago

Please close or schedule before the end of this sprint. See triaging old issues.

nice-snek commented 7 years ago

hi frand @sglangevin, please triage before the end of this sprint.

alxndrsn commented 7 years ago

Still a security issue which should be addressed at some point.

medic-bot commented 6 years ago

Hi @rmhowe,

This ticket has not been touched in 90 days. Is it still relevant?

Please also ensure this ticket has a Priority, Status and Type label.(See triaging old issues for more detail)

rmhowe commented 6 years ago

Seems like this still needs to be addressed but is relatively low priority