Staff and roles
This page covers the Staff & Roles menu: the built-in roles and their permissions, how to invite and edit staff, 2FA, password rules, and how API keys relate to roles.
This menu is only shown to, and usable by, the Administrator role. Other roles see the message "Only administrators can manage staff."
Built-in roles
There are three staff roles. Roles cannot be added or changed.
| Role | GUI label | Summary |
|---|---|---|
admin | Administrator | Every operation, including managing staff, API keys, and sensitive settings. |
technician | Technician | Every day-to-day operation, except admin-only items (see the table below). |
support | Support | Read-only, plus a few light actions. |
Permission matrix
| Permission | Admin | Technician | Support |
|---|---|---|---|
| View servers, accounts, websites, usage, jobs, and audit | yes | yes | yes |
| Suspend / unsuspend accounts, ping servers, post-migration test | yes | yes | yes |
| Mark alerts as handled (Acknowledge) | yes | yes | yes |
| Create and change accounts, packages, websites, DNS | yes | yes | no |
| Manage servers, security, backups, and migrations | yes | yes | no |
| Evaluate alerts now, retry, cancel, stop, and kill jobs | yes | yes | no |
| Notification channels, webhooks, API keys, and secrets | yes | no | no |
| Activate, install, or remove the panel license, record vendor licenses | yes | no | no |
| Manage staff and roles | yes | no | no |
On top of that, some risky operations are admin-only, even though technicians can do other operations on the same page:
- rebooting a server and removing a server from the panel;
- adding a server over SSH (Servers › Add server), because it uses the new server's root login;
- changing a server's hostname (Danger zone › Change hostname in the server settings);
- changing and testing a server's SMTP relay (smarthost), which holds the relay login;
- removing account backup snapshots, which cannot be undone;
- opening and closing server firewall ports, and turning on firewalld from the panel;
- changing SSH settings of a server: the root SSH port, the separate client SFTP/SSH port, and whether clients may sign in with a password;
- opening the Rspamd web UI (Servers › server name › Settings › Email & webmail), which gives full access to the server's spam filter;
- changing the default nameservers (applies to every zone);
- managing nameserver nodes and cPanel DNSOnly replicas, and releasing held migration zones (Domains & DNS › Nameserver nodes);
- panel backup and backup destinations (they hold storage credentials);
- changing an account's billing relationship (Billing link…);
- opening the control plane log;
- changing login brute-force protection;
- installing vendor software as root, such as security providers, Node.js/ Python runtimes, MySQL Governor, PHP Selector, and opening the Softaculous or CloudLinux Manager admin panels.
In the GUI, update banners and the panel and agent upgrade buttons in Settings › Updates are also only shown to administrators.
The support role can read notification channels, but not staff, API keys, secrets, webhooks, or the control plane log. Support also cannot open the full query text of running database queries, because it can contain customer data.
INFO
The server checks permissions on every request. Hiding buttons in the GUI is only a convenience; direct API requests without permission are still rejected.
The Roles and Permissions tabs on this page show a summary of the roles and the same permission matrix.
Staff list
The Staff tab has:
- Cards: number of staff (and how many are disabled), number of admins, number of technicians, and how many active staff have turned on 2FA.
- A warning when some staff have not set up 2FA.
- The Staff list table with the Staff name, Contact, role, 2FA, Last active, Account status, and Actions columns.
- Search by name or role.
Inviting staff
Click Invite staff.
Fill in the form:
Field Description Work email Used to sign in. Full name The name shown in the panel and audit log. Role Administrator, Technician, or Support. Default Support. Initial password At least 10 characters. Click Create.
Give the email and initial password to the staff member through a secure channel.
The panel does not send invitation emails. The staff member signs in with that initial password, then should change the password and turn on 2FA from Profile right away.
TIP
Give the lowest role that is enough for the job. A helpdesk team usually only needs Support.
Editing staff
Click Edit on a staff row.
| Field or button | Result |
|---|---|
| Full name | Changes the name. |
| Role | Changes the role. All of that person's sessions are revoked. |
| New password (optional) | Sets a new password of at least 10 characters. All sessions are revoked. |
| Disable | The person cannot sign in and all their sessions are ended. Audit history is kept. |
| Enable | Reactivates a disabled staff member. |
| Reset 2FA | Removes the person's 2FA, for example when their phone is lost. They set it up again on their next sign-in. |
WARNING
The last active admin cannot be demoted or disabled. This way the panel always has at least one admin.
Every staff change is recorded in the audit log.
2FA
2FA uses TOTP (6-digit codes from an authenticator app).
- Default: 2FA is optional. Each staff member turns it on from Profile › Security by scanning a QR code.
- Once on: every sign-in asks for a code. To turn it off, the person enters their password and a current 2FA code.
- Required for everyone: set
MOORCP_ADMIN_REQUIRE_2FA=truein the panel env file. Staff without 2FA must set it up before they can use the panel, and 2FA cannot be turned off. - A code that was already used cannot be used again.
If an administrator loses their authenticator and there is no other admin, reset 2FA from the panel server:
moorcp-shared staff reset-2fa --email ops@example.comFull steps are in First login and 2FA.
Password and sign-in rules
| Rule | Value |
|---|---|
| Password length | 10–72 characters |
| Storage | bcrypt hash; passwords are never stored as is |
| Failed sign-in limit | 5 failures per email and IP within 15 minutes locks sign-in from that IP |
| Session lifetime | MOORCP_SESSION_HOURS (default 12 hours), idle timeout 2 hours |
| IP allowlist | MOORCP_ADMIN_ALLOWED_CIDRS limits which IPs can open the admin panel |
Changing a person's role, password, status, or resetting their 2FA revokes all their sessions. See Environment variables for session and allowlist settings.
Staff from the command line
The first staff member is created on the panel server. The same commands work when the GUI cannot be reached:
MOORCP_STAFF_PASSWORD='PASSWORD' moorcp-shared staff create --email ops@example.com --name "Ops" --role adminmoorcp-shared staff listmoorcp-shared staff passwd --email ops@example.comstaff passwd reads the new password from stdin. The commands print in English; set MOORCP_LANG=id for Indonesian output. See CLI.
API keys
API keys are not managed on this page but in Settings › API credentials. Each API key carries a role (admin, technician, support, or billing) and is checked with the same permission rules as staff. See Panel settings and Authentication and API keys.
