hotosm / tasking-manager

Tasking Manager - The tool to team up for mapping in OpenStreetMap
https://wiki.openstreetmap.org/wiki/Tasking_Manager
BSD 2-Clause "Simplified" License
507 stars 275 forks source link

Add function to delete user accounts #6002

Open dakotabenjamin opened 1 year ago

dakotabenjamin commented 1 year ago

Is your feature request related to a problem? Please describe. Related to https://github.com/hotosm/tasking-manager/issues/2526, we need to support user account deletion. When a user requests to have their account deleted, we do not have an effective way to do so short of direct database access.

Describe the solution you'd like Users with admin-level access can have a select option under https://tasks.hotosm.org/manage/users/ to delete an account. There should be a dialogue to confirm deletion.

image

On the backend, the solution should be designed to remove the users personal information without deleting core TM data/functionality like task history. Replace user ids with [Deleted user] in comments and such. We will need to decide how to effectively remove account information to comply with GDPR.

Additional context We have received requests for account deletion in the past, and have not come to a sufficient solution to comply with these requests.

khushishikhu commented 1 year ago

@dakotabenjamin I like to take up this issue to work as an outreachy applicant. Please assign me on it

dakotabenjamin commented 1 year ago

@khushishikhu Please refer to this guidance for outreachy: https://github.com/hotosm/fmtm/issues/863. In the meantime I will unassign you from this issue.

tsmock commented 7 months ago

If a user deletes their account on OSM, it returns a 410 GONE response.

Example: