Commit Graph

1 Commits

Author SHA1 Message Date
Víctor Falcón ece5cd5d27 feat(encryption): add commands to warn and remove inactive encrypted-data accounts
Add two artisan commands to retire legacy client-side encrypted data:

- encryption:notify-removal queues a re-engagement/deletion warning to
  every user who still has an encrypted transaction or account
  (non-null *_iv columns), reusing SendUpdateEmailJob.
- encryption:delete-accounts soft-deletes and anonymizes those users
  when they have not signed in within the grace window (--days, default 7),
  sparing anyone who came back and never touching the demo account.

Both support --dry-run and --force and share the target query via the
FindsUsersWithLegacyEncryption concern.
2026-07-03 17:50:51 +02:00