#5550 - Point transaction tables must not be deleted by privacy system

Identifier #5550
Issue type Major issue (breaks an entire feature)
Title Point transaction tables must not be deleted by privacy system
Status Completed
Tags

Roadmap: v11 (custom)

Handling member PDStig
Addon General / Uncategorised
Description Currently ledger records (IIRC) have their privacy action defined as deleted by default, and deletable as an option. It should only be anonymisable.

Add a unit_test that checks every table and compares it to the privacy hooks. If member_id_fields, ip_address_fields, email_fields, or additional_anonymise_fields is defined, and there isn't a table description defined, then it fails the test.
Steps to reproduce

Related to

#5514 - Add a unit test for removal_default_handle_method and allowed_handle_methods in privacy hooks

#5555 - Privacy purging overhaul

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated