PhoenixKit 1.1.0: A user form page and simpler role assignments
PhoenixKit 1.1.0 gives admins a full page for creating and editing users, and simplifies how roles are stored.
Creating and editing users
Adding a user used to happen in a pop-up on the users list. It now has its own page at /admin/users/new, and each row in the users list has an Edit button that opens /admin/users/edit/:id. The form asks for the email, an optional first and last name, and a password for new users.
A new user gets the User role and an active account, and PhoenixKit sends the confirmation email straight away; the page then says “User created successfully. Confirmation email sent.” From the edit page an admin can also reset a user’s password: after a confirmation, the current password stops working and the user is emailed a reset link that expires in 1 hour.
Role assignments
Removing a role from a user used to mark the assignment inactive and keep it. It now deletes the assignment, and the is_active column on role assignments is gone. Role checks no longer filter on it, which makes those queries simpler. mix phoenix_kit.update now knows about two schema versions and tells you what the step from V01 to V02 changes.
Upgrading
Run mix phoenix_kit.update to apply migration V02. It permanently deletes role assignments that were already inactive, warns about them before it runs, and drops the is_active column; the column can be restored by rolling back, the deleted assignments cannot. Code that read is_active on role assignments must be updated.
Full release notes: PhoenixKit 1.1.0
1.1.0 · 10 August 2025
Added
- Email Confirmation - User email verification workflow
- Password Reset - Secure password recovery via email
PhoenixKit 1.1.0. Install or update: {:phoenix_kit, "~> 1.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.