Docs › Releases › 1.22 › Changelog
Recurnix 1.22 changelog
Every change in 1.22, by kind. For what it means and whether to update, read the release notes.
Changed
- Impersonation has its own permission. "Sign in as client" was gated on
update.clients— the same permission that lets a staff member correct a typo in a company name. One permission was doing two jobs of very different consequence, and there was no way to grant one and withhold the other, because there was only one thing to grant. It is nowimpersonate.clients.
Added
App\Support\ImpersonationPermission— the name of the permission, the name of the one it supersedes, and the backfill that carries every existing holder onto it. The migration and the tests call the same method.- Migration
2026_07_31_150000_split_impersonate_clients_permission— data only, no DDL, portable across MySQL, MariaDB, PostgreSQL and SQLite. Tests\Feature\ImpersonationPermissionSplitTest— 7 tests (214 total, 669 assertions).
Notes
- ⚠ Nobody loses access, and that was the hard half. A rename on its own would have disabled impersonation on every existing install the moment it deployed — nobody holds a permission that did not exist yesterday — and it would have failed silently, as a button that stops being drawn. The migration backfills the new permission to every role and every user already holding the old one. Direct user grants are the part that is easy to forget: a permission can be attached straight to a staff account with no role involved, and skipping that table would have taken the capability from exactly the people an operator had singled out by hand.
- Measured on the live install. Before: 3 of 5 roles could impersonate — owner, admin, billing. After: the same 3, each holding exactly one more permission; support and readonly untouched; 80 permissions became 81. Asked directly, a staff account holding only
update.clientscan still edit clients and can no longer become one. - ⚠
billingcould impersonate by accident. The seeder gives that role every permission whose name ends in.clients, soupdate.clientsmatched a string filter rather than a decision anybody made. The grant is now written out by name, on a line that can be argued with. Whether billing should have it is a separate question and is deliberately not answered here — this release changes nobody's access. - Rolling back is clean:
down()removes the permission and every grant of it, and the old permission is untouched throughout, so impersonation goes back to riding on it.