Account page: hardcoded org name, role label replaces usage tier
Single commit reshaping the Account page for a single-tenant deployment. The per-user organisation field and the Usage Plan section are gone; in their place, a hardcoded "Piper Alderman" line and an "Account type" field showing "Administrator" or "User" derived from the JWT role.
Commit 684223b9 (+16/-88 across 3 files) strips the UI paths that only made sense for a multi-tenant SaaS product.
The organisation field on the Account page - previously an editable input that wrote to user_profiles.organisation - becomes a read-only paragraph with the constant ORGANISATION_NAME = "Piper Alderman". The updateOrganisation function and all state managing it (organisation, isSavingOrg, orgSaved) are deleted from the component. The UserProfileContext loses updateOrganisation as well.
The Usage Plan section, which displayed profile?.tier || "Free", is removed entirely. Nothing replaces it in the user-facing account view. Instead, a new "Account type" field shows user?.role === "admin" ? "Administrator" : "User". The sidebar footer, which previously called getUserTier() to show "Free", now calls getAccountTypeLabel() returning the same role-derived string.
The database columns user_profiles.organisation and users.tier are deliberately left in place. The commit comment notes them as cleanup debt for the next schema sweep. The wire shape doesn't change; the columns just aren't read or written by UI code any more.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?