citizenos / citizenos-api

Citizen OS API application - https://api.citizenos.com/
Other
31 stars 8 forks source link

DELETE User to anonymize all relevant Activity data #226

Closed tiblu closed 2 years ago

tiblu commented 2 years ago

What is the problem?

When a User deletes account we want to anonymize/delete ALL data related to that User.

Why is this a problem?

When deleting a User, we still have User data in Activities table.

Examples include Activities with context:

Possible solution.

Related to:

anettlinno commented 2 years ago

Triage 60. Est. dev. time 8 hours. Sending to development.

tiblu commented 2 years ago

Progress

ilmartyrk commented 2 years ago

Updated activities, removed all personal information like "connectionUserId" and "connectionData" from "userConnection" Activities, also removed email from activities. We now don't have to delete any data from "Activities" tabel when user deletes their account, IPs will be handled in different way as we will be storing these for longer time as per Privacy policy