extensions-website/users
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
..
management Fix deletion task, protect more account-linked data 2024-06-05 13:20:51 +02:00
migrations Notification emails (#80) 2024-04-18 16:11:18 +02:00
templates Account: show Blender ID username instead of full name everywhere (closes #59) 2024-05-30 13:00:30 +02:00
templatetags Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
tests Fix deletion task, protect more account-linked data 2024-06-05 13:20:51 +02:00
views Blender ID: update webhook docs 2024-06-03 11:32:23 +02:00
__init__.py Add Blender ID login and webhook 2022-09-26 18:09:41 +02:00
admin.py Admin: filter accounts by groups 2024-05-17 11:23:36 +02:00
apps.py Notification emails (#80) 2024-04-18 16:11:18 +02:00
blender_id.py Blender ID: update tests and docstrings 2024-06-03 13:41:01 +02:00
forms.py Notification emails (#80) 2024-04-18 16:11:18 +02:00
models.py Fix deletion task, protect more account-linked data 2024-06-05 13:20:51 +02:00
signals.py Blender ID: use avatar_url on sign up 2024-06-03 11:16:44 +02:00
tasks.py Add Blender ID login and webhook 2022-09-26 18:09:41 +02:00
urls.py Notification emails (#80) 2024-04-18 16:11:18 +02:00
utils.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00