Users and Roles
Users in the sidebar is where you manage the people who run the panel and your resellers. It has two tabs: Users lists staff, and Roles is the roles and permissions page that used to live at /roles (that address now opens this tab).
Customer users are not managed here. Invite them from the customer's own page (see Customers), or let the customer manage their own team in the portal; see Customer users in the portal.
Who appears in the list
- Panel staff run the whole panel: they see every reseller and every customer. What they may change follows their role on the panel's own organization (see Panel staff roles). The administrator who installed the panel and every invited panel colleague hold Owner there, which is full access, so the list shows them as Full access.
- Reseller staff are members of a reseller organization. They work only inside that reseller and its customers. Templates and AI Models are not in their sidebar, whatever their role, even Owner: the template catalog, its deploy and the AI model pages belong to the panel staff. Opening either address leads to the dashboard. Reseller staff deploy for a customer with Deploy your own app, which is also what an empty Services page and a new project offer them. The Assistant is not offered to them either, nor are Customer Plans and Resource Plans: plans are managed by the panel staff, and a reseller's customers start on the default customer plan.
What you see depends on who you are:
| You are | You see |
|---|---|
| Panel staff | Every panel staff member and every reseller's staff |
| Reseller staff | Only your own reseller's staff |
The Last sign-in column shows when each person last signed in to the panel or the customer portal, through Keycloak or a local password with or without two-factor. Never means the person has not signed in since the account was created. A refused sign-in, for example of a deactivated account, does not count.
A login that also works for another reseller is not shown to a reseller, and nobody can act on someone they cannot see. The server checks this on every request; hiding a button is only a convenience.
Invite a user
- Choose Invite user.
- Panel staff choose who they invite: Reseller staff or a Panel colleague (see Invite a panel colleague).
- Enter the email address. For reseller staff, panel staff also choose the reseller.
- Choose a role. The list shows only roles you may give.
- Choose Send invitation.
The person receives an email from the identity provider (Keycloak) to set a password, then signs in with it. An address that already has a sign-in account cannot be invited again.
The email goes out in the background, a few seconds after you send the invitation. The Status column shows how far it got:
- Invitation pending: the panel is still creating the account and the email.
- Invitation sent: the identity provider accepted the email. The tag goes away once the person has signed in.
- No email sent: outgoing email is not set up, so the panel created the sign-in account but sent no email. The invite form says so right away. Set up email in Settings → Email; saving the settings sends every invitation that is waiting. You do not need to invite the person again.
- Invitation failed: the email has not gone out although email is set up, for example because the mail server refused the login. The panel tries again for about four hours. After that, fix the mail settings and save Settings → Email: the save sends the invitation again. A restart of the panel does not.
Invite a panel colleague
Panel staff can invite another person to run the panel with them, for example a second administrator in your IT team. Choose Panel colleague in the invite dialog; there is no reseller to choose.
- A panel colleague has full access: the whole panel, every reseller and every customer, like you. The invitation gives them the Owner role on the panel's own organization; the role list offers only roles with every permission for now, and a narrower role is refused.
- Only panel staff can invite panel staff. Reseller staff never see the choice, and the server refuses the request whatever it says.
- An API key that is denied any permission cannot invite a panel colleague, because that colleague would be stronger than the key.
- A panel colleague takes one admin seat of your licence, exactly like reseller staff. Free and Power User allow one admin account in total, Web Host any number. Past the limit the invite is refused with "Your license allows no more admin accounts"; nothing is created.
The welcome email, the Status column and the audit log (user.invited with kind: panel) work as for reseller staff. Through the API, send "kind": "panel" with email and roleId to POST /api/v1/users; GET /api/v1/users/assignable-roles?kind=panel lists the roles you may use.
A login added to a reseller organization through the API (POST /api/v1/organizations/{org_id}/users) is reseller staff too, exactly as if it had been invited here: it needs a staff role (roleId), counts against the licence's admin seats, and signs in to the admin panel, not to the customer portal.
How sign-in finds the person
Each panel user is linked to one sign-in account in the identity provider (Keycloak). Sign-in finds the person by that account, never by the email address alone, so another account that claims the same address cannot sign in as them. A user from before the link existed is linked at their next sign-in, and only when Keycloak marks their email address as verified; accounts the panel or the installer creates always are.
If sign-in ends with account_not_linked, the panel user is linked to a different Keycloak account (for example after the Keycloak account was deleted and created again), or the address is not verified. Mark the address verified in Keycloak. A link to a deleted Keycloak account can today only be cleared on the server by an operator (users.keycloak_subject); an admin action for it is tracked as AI-2497.
Change a role
Choose Change role on a reseller staff member and pick the new role. It replaces the role they had on that reseller.
Deactivate and reactivate
Choose Deactivate and confirm. The person is signed out at once and cannot sign in again: their sessions are deleted, their open live-update connections are closed, their sign-in account in the identity provider is disabled, and their API keys stop working. Their roles stay, so Reactivate restores access exactly as it was. Every invite, role change, deactivation and reactivation is recorded in the audit log.
The panel tries the identity provider once and does not retry. If it cannot be reached, the panel still refuses the person everywhere and tells you the sign-in account could not be updated. In that case, disable the account in the identity provider (Keycloak) yourself, or the person could still sign in to other applications that use it.
You can deactivate someone only when you could take away every role they hold in the organizations you manage, including the customer organizations under your reseller.
Rules that always hold
- Nobody gives a role stronger than their own. You can give, change or take away a role only when you hold every permission it has. A reseller Admin can make an Operator but not an Owner.
- You cannot change or deactivate your own account from this page.
- Each reseller keeps at least one active Owner. Removing, demoting or deactivating the last one is refused; make someone else an Owner first. A closed (terminated) reseller is exempt.
- The panel keeps at least one active panel administrator.
- Panel staff roles cannot be changed here yet. Panel staff can be invited and deactivated.
Panel staff roles
A panel staff login that holds a role on the panel's own organization can do exactly what that role allows, everywhere in the panel:
- Read-only panel staff see everything a Read-only role covers and change nothing. Operator panel staff also deploy, start, stop and manage apps, but cannot delete them, change panel settings or manage templates. Admin panel staff can do everything except making or removing Owners. Owner panel staff can do everything.
- The server enforces it, not only the screens: the API, the admin MCP server, the Assistant's tools, approvals waiting in the queue and live updates (logs, deploy output, the browser terminal) all apply the role. A refused request answers 403 Forbidden and changes nothing.
- Every panel staff login holds a role. A panel login with no role on the panel's own organization can do nothing at all, so removing someone's role never gives them more. When you upgrade, every panel staff login that had no role gets Owner, the full access it had before.
- Nobody gives a role stronger than their own. Panel staff with a limited role can give or remove only roles that hold nothing their own role lacks, and cannot deactivate a panel colleague with a stronger role. On the Roles tab nobody creates a role with a permission they lack, or edits or deletes a role that holds one.
- The panel always keeps an Owner. The last active Owner of the panel's own organization cannot be removed, given a lesser role or deactivated, like the last Owner of a reseller.
- The panel's screens follow the role: actions the role does not allow, such as the terminal for Operator and Read-only, are not offered.
Built-in roles
The built-in roles cannot be edited or deleted. Custom roles keep working and can still be created, edited and deleted on the Roles tab.
| Role | What it can do |
|---|---|
| Owner | Everything, including making and removing other Owners |
| Admin | Everything except making or removing Owners |
| Operator | Everything Read-only can see, plus deploying, starting, stopping and managing services, their logs and domains, and creating and updating projects |
| Read-only | View organizations, services, backups, users, projects, templates, the audit log, usage and secrets; change nothing |
The older built-in roles (Reseller, Customer and the project roles) are unchanged. Some permissions only ever take effect for panel staff, such as panel settings; holding them through a reseller role gives a reseller nothing extra.
Customer users in the portal
A customer can manage their own team on the portal's Users page (/portal/users). It has the same table and dialogs as the panel's Users tab, but it only ever shows the customer's own organization.
- Who sees the page: a login that may view users on the customer's organization. The customer's Owner (see Who is a customer's Owner) and Admins can change things; the built-in Customer role may view users but not change them, so it sees a read-only list. Without that permission, the portal shows a "no access" message instead.
- Invite a user: enter an email address and choose a role. There is no organization to pick: the new login always joins the signed-in customer's organization. The person gets the usual identity provider (Keycloak) email, and the list shows whether it went out.
- Change a role and Deactivate / Reactivate work as described above, with a confirmation before deactivating or reactivating.
- Roles offered: the built-in Owner, Admin, Operator and Read-only, the customer roles Customer and User, and custom roles, but only those that are not stronger than the caller's own role. Staff and project roles are refused.
The same rules apply as for staff, checked by the server on every request:
- The organization always comes from the signed-in account. A request that names another organization, or a user of another customer, a reseller or the panel, is answered as if the user did not exist.
- Nobody gives a role stronger than their own, and nobody changes or deactivates their own account.
- Each customer keeps at least one active Owner. Demoting or deactivating the last one is refused. A closed (terminated) customer is exempt, so deleting a customer still works.
- Deactivating stops every way of signing in, and every invite, role change, deactivation and reactivation is in the audit log under the customer's organization.
Who is a customer's Owner
Every customer has an Owner, who can manage the customer's team in the portal:
- A new customer: the first login, the one made when you create the customer, is its Owner.
- Existing customers: when this version is installed, each customer without an Owner gets one: its primary login (the one made when the customer was created), or its oldest login when that one is deactivated, shared with another organization, or holds a role an administrator chose. A customer with an Owner already, and a closed customer, is left as it is.
- Inviting from the customer's page: without a chosen role, the customer's first login becomes its Owner and later ones get the Customer role. You can also pick the role, one no stronger than your own.
To change a role yourself, open the customer's page in the panel. Its Users card lists who can sign in to the customer's portal and their roles. Panel staff and staff of the reseller that owns the customer can choose Change role there, under the same rules as everywhere else: only a role no stronger than your own, and the customer always keeps one active Owner. This is also how a customer without an Owner gets one.
Reseller staff with the built-in Reseller role cannot change a customer user's role: the Customer role a login starts with, and the Owner and Admin roles, carry permissions the Reseller role does not have (for example backup administration). A reseller's Owner can.