Recurnix docs

Docs › Releases › 1.12 › Release notes

Recurnix 1.12 release notes

Released 2026-07-31. Recurnix 2.11 is newer.

The lock was on the door. The sign in the corridor did not mention it.

Recurnix has a proper permission model, and the admin panel enforces it. All 59 pages and resources declare canAccess() — not most of them, all of them — and clicking through to something you are not allowed to open gives you a 403, exactly as it should.

The menu just never asked. Every one of the 55 hand-built navigation entries rendered for everybody, regardless of what the account could actually do.

We measured it rather than describing it. An account with view.tickets and nothing else — a perfectly ordinary support agent:

menu offers        57 links
of those, open     15
of those, LOCKED   42     <- every one of them a 403 waiting to happen

Forty-two dead ends: Payment Gateways, Exchange Rates, Activity Log, Staff, Server Groups, TLD Pricing, Anti-spam. A new starter's first hour in the product is spent discovering which two thirds of the menu is a lie.

One rule, asked from both sides

The fix is not 55 new permission checks — that would be a 56th copy of a rule that already exists, free to drift from the original. It is to make the menu ask the destination the same question the destination will be asked when the link is clicked. The panel already knows which class serves which route, so AdminNavigation looks it up and calls its canAccess().

That is one line inside the menu's link() helper, and it closed all 53 of the ungated entries at once. It also means a resource added next month is gated correctly without anyone remembering to do it.

                          before    after
menu offers                  57       15
of those, open               15       15
of those, LOCKED             42        0

Two entries — Staff and Roles — had been given a hand-written check, so somebody had clearly noticed. But it hardcoded can('view.users'), duplicating a string that already lived in StaffResource::canAccess(). Identical today; one edit away from disagreeing. Both now go through the same path as everything else, and the duplicate strings are gone.

The Shortcuts panel needed its own answer, because "New Client" and "New Invoice" are create links — a different permission verb from the menu's view.*. Each is now gated on the right one, and if an account can use none of them the panel does not appear at all rather than sitting there empty.

Three whole menu groups — Billing, Services, Catalog — vanish for a support-only account, and that needed no code: Filament already drops a group whose items are all invisible. We wrote a helper for it, found nothing called the helper, and deleted it. Shipping code nothing runs is worse than shipping nothing.

And then the door itself

Which raised the obvious question: what does Recurnix look like when it does say no?

It looked like this — a white screen, "404 | Not Found" in small grey text, no branding, no dark mode, no way back:

That was the product's face on every failure. Not just 404: 403 when permissions are short, 419 when a session times out while somebody is halfway through a long form, 429 when the rate limits Recurnix ships switched on do their job, plus 500 and 503.

There are now proper pages for all of them — one layout, light and dark, using your configured company name and logo. The wording is written for the person actually reading it, who is usually a staff member mid-task rather than a developer. Each page says what happened, whether it was their fault, and what to do about it:

  • 403 — "You are signed in, but this account has not been given permission for this page. If you think it should have, ask whoever looks after your Recurnix installation."
  • 419 — "You were away long enough that we closed the session, which is a security measure rather than a fault. Sign in again and carry on — anything you had already saved is safe."
  • 500 — "This one is not your fault."

Each carries a short reference line, so a support ticket that says "it broke" can become one that can be found in the log in seconds.

Two things about that page are deliberate and worth stating. Its stylesheet is a static file, not an inline block and not part of the compiled admin bundle: an error page may be reporting that the application is broken, so it must not depend on the asset pipeline it is telling you about — and a self-hosted product gets deployed behind other people's Content Security Policies, where style-src 'self' would silently strip an inline block and leave an unstyled page at precisely the worst moment. It is also versioned against the release, so an upgrade actually serves the new stylesheet instead of whatever the browser cached. And the layout reads your company name, logo and admin path through try/catch, because an unreadable settings table is a very plausible reason for the error in the first place.

How this was checked

Not by signing in as a test staff account — that means typing a password, and that is not something we do. A scratch role with a single permission and a scratch user were created, logged in programmatically, and then the panel's own navigation was enumerated and compared, entry by entry, against what canAccess() allows. Both before and after. The scratch account was deleted and the baseline re-asserted on every run.

One thing worth admitting: the first version of that probe reported the Shortcuts panel from a hardcoded string — "shown anyway: yes" — which was true before the fix and would have gone on printing after it. It now renders the actual Blade view and counts the anchors. A probe that asserts instead of measuring is worse than no probe, because you believe it.

78 committed tests, 245 assertions. The permission model itself was not changed: the 15 links a ticket agent keeps are exactly what the resources already permitted. The menu now tells the truth about them.


Last modified: 16 November 2026 · This page documents Recurnix, self-hosted billing and automation. Ask a question.