Page MenuHomeWrite.as

Support account deletion
Closed, ResolvedPublic

Description

Overview

Users should be able to completely delete their account, like any sane service.

Progress

  • API
  • Web

Backend

Add a deleteUser func that takes a User and bool on whether or not to delete all the user's posts. Should remove all user traces from:

  • unsetpasswords
  • accesstokens
  • oauth
  • users
  • usererrors

Removes collection traces:

  • collections
  • collectionemails

Removes posts if user wanted it:

  • posts

Deletes external accounts when they're entirely based on logging in with Write.as, e.g. Snap.as currently.

  • apps

Event Timeline

matt raised the priority of this task from Normal to High.Feb 4 2018, 9:38 PM
matt added a project: Restricted Project.

More users have requested this lately. This is especially important for those who want to limit their digital footprint, a major thing for privacy-conscious users.

matt raised the priority of this task from High to Unbreak Now!.May 2 2018, 11:46 PM

Even more important now due to the GDPR.

matt lowered the priority of this task from Unbreak Now! to Normal.Oct 31 2018, 10:34 PM

Or... not so important. We should also send a Delete activity for federated blogs.

matt changed the visibility from "Restricted Project (Project)" to "All Users".Jun 2 2019, 11:25 PM
matt changed the edit policy from "Restricted Project (Project)" to "All Users".
matt added a project: WriteFreely.
matt changed the visibility from "All Users" to "Public (No Login Required)".Oct 30 2019, 2:27 PM

Note: implementation details are out of date and only apply to Write.as. For implementation in WriteFreely, refer to [deleteAccount()](https://phabricator.write.as/diffusion/W/browse/master/database.go$2674) func in rW.

matt removed matt as the assignee of this task.Oct 30 2019, 3:55 PM

Looks like this function also already exists in writefreely under *datastore, but is still out of date and needs modification.

status update

list of writefreely tables modifed so far:

  • collectionattributes
  • collectionkeys
  • collectionpasswords
  • collectionredirects
  • remotefollows
  • collections
  • posts
  • accesstokens
  • userattributes
  • users
  • userinvites as an admin might delete a user and not want their friends signing up

PR for writefreely is up including CLI flags, next is to add things like federated deletes for all collections including default (i.e. username) and and posts if they are being deleted as well.

matt added a project: Restricted Project.Feb 2 2021, 3:10 AM
matt moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
matt moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Mar 3 2021, 7:20 PM
matt raised the priority of this task from Normal to High.
matt added a subscriber: robjloranger.

Will finish this up and get it merged. Because of how widely this feature is needed, I think we can get it in without the fediverse deletion functionality for now.

matt added a commit: Restricted Diffusion Commit.Apr 23 2021, 8:12 PM
matt added a commit: Restricted Diffusion Commit.Apr 23 2021, 8:47 PM
matt added a commit: Restricted Diffusion Commit.
matt added a commit: Restricted Diffusion Commit.

This is live on Write.as and merged into WriteFreely for the v0.13 release.