Role permissions matrix
One page with every role, its permission levels, and which actions it may or may not do. It is meant for QA, the console and Flutter teams, and anyone who needs a quick answer to "can this role do X?".
As of 2026-11-24, dev (RBAC-S1 … S13 changes marked below; built, not yet deployed). Levels come from packages/core/src/access/system-roles.ts and the membership rules in
membership-policy.ts (cse-http-be). The levels shown are the effective levels: what a user actually gets
after the RBAC v2 membership rules, not just the stored role. For the full background see
Authorization and Roles & permissions.
Levels
Each level includes everything below it.
| Level | Meaning |
|---|---|
NONE | no access; the area is hidden |
VIEW | read only |
EDIT | read and change |
MANAGE | also create, remove and manage |
FULL | everything, including Crown-only actions |
1. Permission levels by role
Columns: SA Super Admin (Crown, R-01) · Admin Administrator (Crown, R-02) · Business (R-90) · Installer (R-91, in a Business) · EU indep. independent End User (own account, R-92) · EU conn. OFF / ON End User connected to a Business, with remote control off or on.
| Permission | What it covers | SA | Admin | Business | Installer | EU indep. | EU conn. OFF | EU conn. ON |
|---|---|---|---|---|---|---|---|---|
| Plant scope | which plants the levels apply to | all orgs | all orgs (Crown access) | all plants of own Business | all plants of the Business | own plants | plants in invite scope | plants in invite scope |
plants | view, edit, archive plants | FULL | FULL | MANAGE | EDIT | MANAGE | VIEW ¹ | VIEW ¹ |
devices | inverters: add, move, remove | FULL | FULL | MANAGE | MANAGE | MANAGE | VIEW ¹ | VIEW ¹ |
alerts | see, acknowledge, resolve | FULL | FULL | MANAGE | MANAGE | MANAGE | EDIT ¹ | EDIT ¹ |
commands | remote control of inverters | FULL | MANAGE | MANAGE | EDIT | EDIT | NONE | EDIT |
firmware | firmware files and approval | FULL | FULL | NONE | NONE | NONE | NONE | NONE |
service | work orders | FULL | FULL | MANAGE | EDIT | NONE | NONE | NONE |
reports | generate, schedule, delete | FULL | FULL | MANAGE | EDIT ² | VIEW | VIEW | VIEW |
customers | customers and Businesses | FULL | FULL | MANAGE | VIEW | NONE | NONE | NONE |
team | members, invitations, join codes | FULL | MANAGE | MANAGE | NONE | NONE | NONE | NONE |
settings | organisation settings | FULL | MANAGE | MANAGE | NONE | NONE | NONE | NONE |
registersRead | read inverter registers | FULL | FULL | VIEW | VIEW | VIEW | VIEW | VIEW |
registersWrite | write inverter registers | FULL | MANAGE | MANAGE | EDIT | EDIT | NONE | EDIT |
sharing | share plants, access requests | FULL | FULL | MANAGE | MANAGE ² | MANAGE | VIEW ¹ | VIEW ¹ |
roles | custom roles | FULL | MANAGE | MANAGE | NONE | NONE | NONE | NONE |
audit | audit log | FULL | MANAGE ³ | VIEW | NONE | NONE | NONE | NONE |
Notes:
- ¹ 2026-11-23 (RBAC-S10, S11, S12, S6). An End User connected to a Business views the Business's plants but
never changes them:
plantsVIEW(no plant record, tariff or alert-rule edits, no web create),alertsEDIT(acknowledge; no alert or notification rules),devicesVIEW(no add, remove or move — removing from one plant and adding to another would be a move in two steps; owner 2026-11-24),sharingVIEW(only the Business and its Installers share its plants; kept when the Installer went back toMANAGE, 2026-11-26). Shares they made on their own plants before joining are capped at these levels too. Shares a connected End User created on Business plants before 2026-11-23 are not revoked. An End User of a legacy customer org keepsplantsEDIT. - ² 2026-11-23 (RBAC-S5). New Installer roles start at
reportsEDIT(generate; deleting reports and pausing / resuming / running schedules needMANAGE). Installer roles that already exist keep theirreportslevel. 2026-11-26 (owner, reversing RBAC-S6 of 2026-11-23):sharingisMANAGEfor the template and every existing Installer role and copy (raised by the RBAC backfill) — an Installer shares any plant of its Business, creates share links and decides access requests, whoever added the plant. - ³ An Administrator reads the access log (who, what, when) but never
changes/requestId(Super Admin only, RBAC-S1) and never hasaudit.export(it needs the Super Admin's audit-trail flag). - Installer levels are the defaults of the seeded template. A Business may change its Installer role, but never above the Business's own levels.
- An Administrator membership outside the Crown org has
firmwarecapped atVIEW. - Retired roles (Viewer, Operations Manager, Technician, Sales, Compliance Auditor) are not listed.
2. Key actions: allowed or not
Yes allowed · No refused (the error QA should see is given) · Limited allowed with a condition · — not applicable to this role.
| Action | SA | Admin | Business | Installer | EU indep. | EU connected |
|---|---|---|---|---|---|---|
| Create a Business for someone (Crown → Businesses) | Yes | Yes | No | No | No | No |
| Create own Business at signup | — | — | No (already in one) | No (already in one) | Yes | No (already in one) |
| Join a Business as Installer (join code) | — | — | No (already in one) | No (already in one) | Yes | No (already in one) |
| Suspend / restore (Activate) a Business (reopen retired, ADR 0036) | Yes | Yes | No | No | No | No |
| Close a Business (members return to their personal accounts) | Yes | Yes | No (PLATFORM_ONLY, since 2026-11-19) | No | No | No |
| Grant a role in the Crown org / invite an Admin | Yes | No (SUPER_ADMIN_ONLY) | No | No | No | No |
| Change, suspend, remove or block an Admin | Yes | No (SUPER_ADMIN_ONLY) | No | No | No | No |
| Promote a member to the Business role | Yes | Yes | No (ROLE_NOT_ASSIGNABLE) | No | No | No |
| Block / unblock a user (mode A or B) | Yes | Limited: not Admins or Super Admins (403 SUPER_ADMIN_ONLY; the block-state read returns platformRole: true for them) | No | No | No | No |
| Open a blocked (frozen) plant | Limited: view only | Limited: view only | No (PLANT_BLOCKED) | No (PLANT_BLOCKED) | No (PLANT_BLOCKED) | No (PLANT_BLOCKED) |
| Restore a member Crown suspended | Yes | Yes | No (SUSPENDED_BY_PLATFORM) | No | No | No |
Activate / deactivate an End User (member :suspend / :restore, owner 2026-11-25) | Yes | Yes | No (END_USER_CROWN_ONLY) | No | No | No |
| Approve firmware | Yes | Yes | No | No | No | No |
| Write grid protection settings | Yes | Yes | No | No | No | No |
| Engineering area (device models, bulk tasks, files, operation log) | Yes | Yes | Yes | No (hidden) | No (hidden) | No (hidden) |
Create a plant (plant.create capability, RBAC-S11) | Yes | Yes | Yes | Yes | Yes | No (web: 403 FORBIDDEN; mobile: 409 PERSONAL_ORG_CLOSED) |
| Archive a plant | Yes | Yes | Yes | No | Yes (own plants) | No |
| Delete a plant | Yes | Yes | Limited: only plants without a customer (PLANT_HAS_CUSTOMER) | No | Yes (own plants) | No |
| Send commands / write registers | Yes | Yes | Yes | Yes | Yes | Limited: only when remote control is ON |
| Show / regenerate join code, accept Installer requests | — | — | Yes | No | — | No |
| Invite an End User into the Business | Yes | Yes | Yes | Yes | — | No |
| Turn an End User's remote control on / off | — | — | Yes | No | — | No |
| Detach an End User | Yes | Yes | Yes | No | — | No |
| Hand a plant over to its customer (plant stays in the Business) | Yes | Yes | Yes | Yes | — | No |
| Work orders (Service area) | Yes | Yes | Yes | Limited: edit, not manage | No (hidden) | No (hidden) |
| See / revoke an End User's shares made before joining | — | — | Yes | Yes | — | Yes (their own only) |
| Share a plant, create a share link, decide access requests | Yes | Yes | Yes | Yes (any plant of the Business, 2026-11-26) | Yes (own plants) | No (sharing: VIEW) |
Change the plants of an End User member (PATCH …/members/{sub} scope) | Yes | Yes | Yes | Yes (End Users only, plants only, 2026-11-26) | — | No |
| Edit plant record, tariff, alert rules | Yes | Yes | Yes (RBAC-S4: no customer notice) | Yes (plant, tariff) | Yes (own plants) | No (403, RBAC-S10) |
| Delete a report, pause / resume / run a schedule | Yes | Yes | Yes | No (template reports: EDIT, RBAC-S5) | No | No |
| Add, remove or move a device | Yes | Yes | Yes | Yes | Yes (own plants) | No (devices: VIEW, RBAC-S12) |
Read access-log changes / requestId, export the audit log | Yes | No (RBAC-S1) | No | No | No | No |
See a customer's phone / email (contact, lastContact) | Yes | Yes | Yes | No (needs customers: MANAGE, RBAC-S7) | — | — |
3. Rules to test across roles
- Installer plant scope (RBAC-S9, owner decision 2026-11-23). An Installer sees every plant of its Business (ADR 0026 D3.1 stays), not only the plants assigned to it — so it also sees every customer of the Business, without their contact details (RBAC-S7).
- Crown staff are not named to Businesses (RBAC-S3). Every HTTP response to a caller outside the Crown org
replaces an actor marked
viaPlatform: truewith "Crown Support" (nosub, email or name) — access log, work-order history, plantinstalledByand, since 2026-11-23, installer history (by). Older records need the human-runbackfill-via-platformscript to carry the marker. The TCP Server applies the same rule (built and ondevsince 2026-11-27) to its operation log, Activity Trail, and command and bulk-task replies (Operation log). - Business edits on customer plants (RBAC-S4, owner decision 2026-11-24). A Business and its Installers keep editing a plant's record and tariff after it has a customer. The customer is not notified; the access log records each change.
- One Business per user. A user in a live (ACTIVE or SUSPENDED) Business cannot create or join another:
409 ALREADY_IN_BUSINESS. Once their Business is CLOSED they may create or join a new one. - Business suspended. Business members and Installers lose all access (
403 BUSINESS_SUSPENDED). Its End Users keep working. - Business closed (2026-11-19). Every member is removed and returned to their own account: staff get their
personal org back, customers become independent End Users with their plants — since ADR 0036 (2026-11-27) also the
plants the Business transferred to them. Refused while the Business holds plants no End User has
(
409 OWNS_UNSHARED_PLANTS). Members not yet returned get403 BUSINESS_CLOSED. - Reopen retired (ADR 0036):
410 REOPEN_RETIRED. See Account suspension and removal. - Last Business member. Business members cannot remove, suspend or demote the last ACTIVE Business member
(
409 LAST_BUSINESS_MEMBER); Crown staff can. - Remote control is OFF by default for a connected End User. OFF removes commands and register writes, also in
the realtime ticket. Setting it on anyone else:
422 END_USER_ONLY. - End User joins a Business. Their plants (including old app-only plants) move into the Business, their own account org disappears, and shares they made before keep working, capped at their level.
- Detach an End User. Plants they brought in and plants transferred (or handed over) to them move to their own
account (ADR 0036, 2026-11-27; before, transferred plants stayed in the Business). The Business's open work orders on the plants that
move back are cancelled (reason
WITHDRAWN, by System). - Plant transfer.
POST /v1/orgs/{orgId}/plant-transferswith a registered user's email (USER_NOT_REGISTEREDotherwise; no invitation). Business role / Installer: the plant stays in the Business and the user is (or is added as) its End User; refused for a user in another Business (USER_IN_ANOTHER_ORG) or a plant that already has a customer (PLANT_HAS_CUSTOMER). Super Admin / Administrator: the plant moves to the user's org (their Business; for a user in no Business, a Business the staff member picks — the user joins it as End User — or their personal org) and the user becomes its owner. - Plant unshare: removed 2026-11-27 (ADR 0035). Nobody can unshare a plant, revoke a share or end a share with a Business. A plant can only be deleted and recreated, or transferred. Detaching or removing an End User remains.
- Block mode A (account): every request gets
403 ACCOUNT_BLOCKEDand the user is signed out everywhere. Mode B (account and plants) also freezes their plants: lists show a Blocked badge, opening one gives403 PLANT_BLOCKED, and only Crown staff can view it, read only. Mode B needs the user to typeBLOCK.