Create user deletion command and delete properly users from Sith.
This is the first step to delete very old users, users who ask to be deleted, and spam accounts. This may be the first step towards a more RGPD friendly Sith.
To avoid database corruption, there will be two cases :
- Accounts created by bots (low interaction with only forum, and no accounting for example). These ones will be completely deleted.
- "Real accounts", which have purchases and a lot of interactions. These ones will be deactivated, and all their data will be deleted, including :
-
Forum posts -
SAS tags -
Accounting -
Pedagogy Comments -
Post reports
The only data that will remain would be the primary key
-
Ensure deleted users does not appear in research index -
Ensure deleted users does not have a profile page -
Ensure deleted users cannot buy or be charged from any product -
Make sure this feature does not affect accounting
Feel free to discuss about this