Allow removing account info without content deletion

Luckily, the “Right to be Forgotten” is not (yet) actual law but a recommended aspect of more general privacy laws. More specifically, the forum operator has to remove any personally identifiable information on request, but posts only have to be removed

  • if they contain privacy relevant information,
  • if they violate laws, or
  • if the poster has the copyright on the posted content.

The last case can be easily avoided, so scrubbing personal data from user profiles should be sufficient to satisfy current privacy laws.

Regarding the spec, it’s probably okay to retain the user record in the database, but I don’t like the idea of having a bunch of Anon######### users around, so:

  • Add a global “deleted user” user, similar to the system user.
  • Deleted users’ posts are flagged in the db, are implicitly owned by the “deleted user” user, pretend to have no likes, and cannot be liked.
  • Deleted users’ profiles are inaccessible for users and moderators, and they are excluded from all user lists (featured users, badges, @mention autocompletion), except a “closed accounts” list available only to admins.
2 Mi Piace