Users and permissions
Staff roles, admin access by network, single sign-on, resellers and their privileges, signing in as a customer, two-factor and passkeys, password resets and ownership changes.
The three levels
Every user belongs to one level: the provider, a reseller or an account. A user can act only on their own level and the levels below it. A reseller never sees another reseller's accounts, and an account never sees another account.
- Provider and reseller users sign in to the admin panel (port 2087).
- Account users sign in to the hosting panel (port 2083).
A session works only on the panel it was opened on. Suspending a reseller immediately blocks the users of all its accounts as well.
Roles
Roles are built in. Each user has one role.
| Role | Level | What it can do |
|---|---|---|
provider_admin | Provider | Everything |
provider_operator | Provider | Read everything, create, suspend and manage accounts, read nodes |
reseller_admin | Reseller | Manage the reseller's accounts, users, packages, websites, mail, DNS, backups and branding |
account_owner | Account | Everything in the account, including its users |
account_developer | Account | Websites, files, cron, SSH, databases; read domains, DNS, backups and alerts |
account_email | Account | Email; read domains and DNS |
readonly | Any | Read only |
Note: You cannot define your own roles or edit a role's permissions. If you need a narrower staff role than these, ScalPanel does not offer it yet.
Create and manage staff users under Accounts → Users. A user's role must exist at their level, you can only give a role whose permissions you hold yourself, nobody can change their own role, and every tenant keeps at least one active owner or administrator.
Account owners manage their own team on the hosting panel's Users page with the three account roles. cPanel's separate email, FTP and Web Disk "users" are not panel users in ScalPanel; mailboxes and FTP accounts are managed on their own pages.
Admin access by network
Security → Admin access limits staff sign-ins to networks you list, like WHM's Host Access Control.
- It is off by default. You can list up to 200 addresses or networks (at least /8 for IPv4, /16 for IPv6).
- When it is on, provider users are always limited. You choose whether reseller users are limited too. Account users are never limited here.
- A limited user from another network is refused after the password check. Sessions and API tokens stop working when they come from another network.
- You cannot save a list that leaves out your own address. The page shows "Your address" and an Add my address button.
If your office address changes and you are locked out, run this on the server:
sudo scalpanelctl admin admin-access-off
It switches the control off within 10 seconds and records it in the audit log.
Single sign-on for staff
Under Security → Admin access → Single sign-on, provider staff can sign in with your company's identity provider through OpenID Connect, for example Google Workspace, Microsoft Entra ID, Okta or Keycloak.
- Register a client at your identity provider with the redirect address the page shows.
- Enter the issuer, client ID, client secret and the button's name, then switch it on.
- Create the staff user in ScalPanel first, with the same confirmed email address.
The first sign-in links the staff user to the identity only when the identity provider says the address is confirmed and exactly one active staff user has that address. After that, the link follows the identity, not the address. If the identity provider reports multi-factor sign-in, the session counts as two-factor.
Single sign-on is for the provider's own staff on the admin panel only. SAML, creating users from the identity provider, turning password sign-in off and sign-on for resellers or customers are not offered.
Resellers
Create a reseller under Resellers → Resellers. The form creates the reseller and its first administrator together, so the reseller can sign in at once. Each new reseller gets a "Default" feature list and package.
On a reseller's page, the Nameservers & privileges tab sets in one place:
- the reseller's own nameservers;
- what it may do: create accounts, create packages, set per-account policies and use branding;
- how many accounts it may have;
- its allocation: the total CPU, memory and disk all its accounts may add up to. An account or package change that would go over is refused.
Resellers → Reseller usage shows what each reseller uses against its allocation. Resellers → Reseller IP authorization decides which IP addresses each reseller may use.
Signing in as a customer or reseller
Support staff can see exactly what a customer sees. On an account's page, choose Sign in as owner; on a reseller's page, Sign in as reseller. You may give a reason.
- You need account management rights on a level above the target. A reseller can sign in only as its own accounts.
- The session lasts at most one hour and ends as soon as your own session ends.
- The target panel shows a banner with your name and End session, which returns you to your own session.
- The session can do no more than you can, and cannot change the user's password, two-factor, email, sessions or API tokens.
- Every action is recorded with both names. In the customer's own activity log, your name and address are hidden.
- API tokens cannot start such a session.
Two-factor sign-in and passkeys
Each user turns on two-factor under Settings → My security in the admin panel, or the Security page of the hosting panel.
- Authenticator app (TOTP). Turning it on gives 10 recovery codes, shown once. Each code works once.
- Passkeys. A user can add up to 10 passkeys and sign in with Sign in with a passkey, without a password. A passkey counts as two-factor. A passkey works only at the host name where it was made, so a user of a reseller's own panel host name needs a passkey there too.
Providers can require two-factor for users through the security.require_mfa policy. Those users must set it up at their next sign-in. The security advisor warns when a provider user has no two-factor.
Forcing a password change
On a user in Accounts → Users, choose Require a password change at next sign-in. On an account or reseller, Require password change applies to all its users, and optionally to the users of its accounts. Until the user chooses a new password, the panel shows only the "Choose a new password" screen. Setting a temporary password for a user also requires a change.
When a user is locked out
- Forgotten password. A user with a confirmed email address uses Forgot your password? on the sign-in page. The link is valid for one hour and works once. Two-factor stays on after the reset.
- Lost authenticator. The user signs in with a recovery code.
- Neither works. A user on a level above them can, on the user, Set a temporary password or Reset two-factor authentication. Administrators of the same level cannot do this to each other. Both actions end the user's sessions and API tokens and are recorded in the audit log.
Warning: Check who is really asking before you reset someone's password or two-factor. A reset made for an attacker hands them the account.
Reset links are built only from the panel addresses set at installation, never from the request. Without the admin panel address configured, provider and reseller users get no reset email.
Changing an account's owner
Accounts → Change ownership moves accounts between the provider and resellers, up to 500 at once. Search, filter by current owner, select accounts, choose the new owner and one of its packages, then review the result for each account.
- Only provider staff can do this. Resellers cannot be moved.
- The new owner's allocation is checked. An account that does not fit stays where it is, and the others still move.
- The account's zones are republished with the new owner's nameservers. Branding, policies and shared IP addresses follow the new owner.
- Websites, mail, databases, files and users stay as they are. A dedicated address of the old reseller is released.
- Sessions opened by the old owner as the account's users end at once.