extensions-website/reviewers/migrations
Anna Sirota 729ce453ac Fix deletion task, protect more account-linked data
Account deletion task had a bug in it: its was skipping all accounts
that were deactivated, but accounts are deactivated as soon as
date_deletion_requested is received via webhook, so no
deletion/anonymisation would have happened.

In addition to fixing that (now the task will exclude all account records
that look like they were already anonymized), this also changes several on-delete properties:

  * abuse reports about a deleted account are deleted along with it;
  * abuse reports made by a deleted account remain;
  * ratings made by a deleted account remain;
  * approval activity protects against deletion: account cannot be deleted if it authored any approval activity;

This change also makes sure that API tokens and OAuth info/tokens
are deleted when account deleted or anonymized.
2024-06-05 13:20:51 +02:00
..
__init__.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
0001_initial.py Flattening out django migrations 2024-01-29 16:41:08 +01:00
0002_initial.py Flattening out django migrations 2024-01-29 16:41:08 +01:00
0003_delete_reviewactionreason.py Reviewers: Drop unused ReviewActionReason model 2024-02-18 15:21:38 +01:00
0004_reviewactivity.py Initial review process 2024-02-18 19:05:12 +01:00
0005_alter_reviewactivity_options_and_more.py Missing migration from review_queue 2024-02-20 11:50:29 +01:00
0006_rename_reviewactivity_approvalactivity.py Approvals: Rename from review to approval 2024-02-20 18:08:39 +01:00
0007_alter_cannedresponse_type.py Make migrations 2024-02-22 21:25:15 +01:00
0008_alter_approvalactivity_message.py Approval: Make comments mandatory 2024-03-11 15:53:33 +01:00
0009_alter_approvalactivity_type.py Upload new version: generate approval activity item (#95) 2024-04-30 10:49:03 +02:00
0010_delete_reviewersubscription.py ReviewSubscription: cleanup unused code 2024-05-24 18:16:44 +02:00
0011_alter_approvalactivity_user.py Fix deletion task, protect more account-linked data 2024-06-05 13:20:51 +02:00