Skip to content

PhoenixKit 2.22.15: Deleting a user shows exactly what goes with them

PhoenixKit 2.22.15 makes permanently deleting a user harder to do by accident and clearer about what it does.

The Users list no longer offers Delete in its row menu, in the table or the card view. Deletion now lives only on the user’s own page, as Permanently Delete. The confirmation, Permanently Delete User, shows real counts for that user. Under Will be permanently deleted: it lists session and other tokens, role assignments, OAuth connections, billing profiles, shopping carts and admin notes. Under Will be anonymized (preserved without PII): it lists orders, posts, comments, support tickets, email logs and files. Before, every user got the same general list, whether any of it applied or not.

Full release notes: PhoenixKit 2.22.15

2.22.15 · 9 September 2026

Changed

  • Permanent user deletion moved off the Users list, and gets a real confirmation screen. The “Delete” action is no longer offered from the list’s row menu (table or card view) — it’s a one-way, everything- related action that now belongs only on the user’s own page, renamed “Permanently Delete” there. Confirming it now shows Auth. preview_user_deletion/1’s real, per-user counts (session tokens, role assignments, OAuth connections, billing profiles, shopping carts, admin notes — and what would be anonymized: orders, posts, comments, support tickets, email logs, files) instead of the same generic six-item bullet list for every user regardless of whether any of it actually applied.

PhoenixKit 2.22.15. Install or update: {:phoenix_kit, "~> 2.22"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.