Team & roles
The Team page (/team) is where you share your account with other people —
teammates, hired sysadmins, agency developers, or end customers who only manage
their own site. Every person gets a role (what they can do) and a scope
(which servers or sites it applies to). Inviting members needs a paid plan: Plus
includes 1 teammate besides you, Pro 4 (5 seats including the owner), and Max is
unlimited. Operator-seat add-ons (Pro and up) add more.
Invite a member, step by step
Section titled “Invite a member, step by step”- Click Invite member (top-right — visible to the account owner only).
- Enter the person’s email address. They don’t need an account yet; the invite creates one tied to that email.
- Pick a Role. The picker opens a card list — each role shows what it can do and whether it’s account-wide or scoped. See Roles & scopes below.
- Set the Scope. Account-wide roles (Admin, Billing) can’t be narrowed. Scoped roles (Operator, Developer, Client, Site admin, Read-only) show a searchable checklist of your real servers or sites — tick the ones this person may touch. A scoped member with nothing selected sees nothing, so pick at least one.
- For shell-capable roles (Admin, Operator), optionally flip the Allow shell / root file access toggle. This is never implied by a role — it’s an explicit per-member grant, because it bypasses every other guardrail.
- Click Send invite. MZPanel emails the person an invite link and shows you a copyable share link as well. They join once they sign in with that email and accept.
Workspaces: your own and the teams you join
Section titled “Workspaces: your own and the teams you join”A workspace is one account: its servers, sites, billing and team. You can work in several: the one you own, plus every workspace you joined as a team member (Admin, Operator, Developer, Billing or Read-only on the whole account or on chosen servers).
- Signing up from an invite puts you straight into the inviting workspace once you click Accept. No empty workspace of your own is created for you.
- Already have an account? Accept the invite and you land in the team’s workspace; your own workspace stays as it was.
- Switch workspace from the workspace chip in the top bar (desktop), or from the avatar menu → Workspaces (mobile). It only appears when you have two or more. Switching reloads every page’s data for the chosen workspace. Your choice is remembered across devices and sign-ins.
- Opening a link to a server in another of your workspaces switches to that workspace automatically, so a shared server URL never shows “Server not found”.
- Create workspace (avatar menu, or the notice shown when you are in no workspace): a member who owns no workspace can create one on the Free plan for their own servers. You can own one workspace.
Owner-only pages (billing, adding servers, backups, tags, the vault) act on your own workspace. While you work in a team workspace as a member, they show what a member sees there. Clients you share single sites or apps with are not given a workspace switch: the shared items appear in their own lists (see below).
API tokens and MCP connections always act on the workspace they were created in, whatever workspace you switch to in the dashboard.
What else you can do
Section titled “What else you can do”The page is a searchable roster of member rows, plus two side drawers:
- Search members — filter the roster by name, email or role.
- Roles — opens a drawer explaining every role, its capability groups, its allowed scope kinds, and whether it’s shell-capable. This is the legend behind every assignment.
- Activity — opens the account audit trail: real control-plane events (sign-ins, member changes, dispatched jobs) with filters by category, actor and date range, and an expandable detail (action, target, IP, user agent, raw metadata) per row. The source picker narrows it to AI tokens (anything done with an API token, over MCP or REST) or to one token, to see exactly what an AI agent did.
- Edit a member — click a row (or the pencil) to change their role, scope or shell toggle.
- Suspend / reactivate — freeze a member’s access without deleting them; their seat is freed while suspended.
- Resend / copy invite link — for a pending invite, re-email it or copy a fresh share link (both rotate the token, so the copied link is always valid).
- Remove — take a member (or a pending invite) off the account entirely.
The owner is always listed first, is non-removable, and holds every capability.
Roles & scopes
Section titled “Roles & scopes”A role is a fixed preset of capabilities — you don’t edit a per-permission matrix, you pick a role. A scope decides which resources it covers. A member is a role × scope, plus an optional shell toggle.
| Role | What they can do | Scope | Shell-capable |
|---|---|---|---|
| Owner | Everything, including billing, members and integrations | Account-wide | Yes |
| Admin | Full technical control of every server; no billing, no member management (can view the team) | Account-wide | Yes |
| Operator | Fully manage & administer the servers they’re assigned — like a hired sysadmin | Servers | Yes |
| Developer | Build, deploy and configure the sites/servers they’re assigned; no system administration | Sites or servers | No |
| Client | Run their own site — content, plugins, cache and stats; never sees the server | Sites | No |
| Site admin | A Client, plus their own site’s SSL certificate and PHP version | Sites | No |
| Billing | Invoices, plan and payment methods only; no technical access | Account-wide | No |
| Read-only | View-only within the assigned scope; cannot change anything | Any | No |
Owner is a reserved singleton — it’s not offered in the invite picker; the other seven are assignable.
Per-site access (share-host)
Section titled “Per-site access (share-host)”The Client and Site admin roles power the share-host experience: you hand a single website to a customer without exposing the rest of the server.
- A site-scoped member sees only their own site(s) — no server list, no sibling sites, no account navigation.
- They can run content and site operations on their own domain only. Anything outside their scope is denied at the API, not merely hidden in the UI.
- Site admin adds the two per-site ops a technical customer usually needs — issuing their own SSL certificate and switching the site’s PHP version — without any server-level reach.
- Clients take no seat. The Free plan shares with up to 5 clients; Plus and above have no limit on how many clients you share sites with.
Share a site with a client
Section titled “Share a site with a client”The Team page has two tabs: Members (people who run servers with you, one seat each) and Clients (people you share sites with, no seat). Two ways to share:
- From the site — open the site and click Share with a client at the bottom of its menu. You see who already has it, and can add someone by email. If they are already a client, the site is added to the ones they have, at their current access level.
- From Team → Clients → Share sites — pick several sites at once.
Pick an access level instead of a role:
| Access level | What they can do |
|---|---|
| Content editor | Posts, pages, media, plugins, themes, cache and stats |
| Site manager | The above, plus SSL, PHP version, taking the site offline and its resource limits |
| Developer | Everything on the site, incl. WP-Cron, DNS records of their domain, clone between their sites, isolation and .htaccess |
| Custom | Choose the role and each permission yourself |
Clients see the name and IP of the server their site runs on (they need it for DNS), never the server’s pages.
Share a Docker app
Section titled “Share a Docker app”Apps (Docker stacks) are shared the same way: use Share with a client on the stack’s card, or pick it under Apps when sharing from Team → Clients. A client can always see the app’s status, services and logs and start, stop or restart it. Environment variables, updates and rollbacks, and deleting the app need the matching permission. Changing the compose file, building or adopting stay with you, because a compose file can reach the whole server.
What a client sees
Section titled “What a client sees”After accepting the invite, a client lands on My hosting — the sites shared with them. Every site opens with a Hosting group at the top of its menu:
- Status — online/offline, site type and PHP version, SSL expiry, disk and database size, and the server’s name and IP.
- Logs — the site’s access and error logs (plus PHP errors, or the app process log for Node.js/Python/Go sites). Always available.
- Files, SFTP, Database, Backups — only when you switched them on. SFTP is one login per site, by SSH key only, jailed to that site’s files. Backups run on the schedule you set on the server; a client can see them and, with Restore backups, put the site back to one of them.
Shared apps are listed on My hosting under Apps, each with its own page.
WordPress sites also show the usual content pages (posts, pages, media, plugins…); other site types show just the Hosting group.
Extra permissions on shared sites
Section titled “Extra permissions on shared sites”Everything that could destroy a site or change its server config is off by default. You switch each one on per member in the invite or edit drawer:
| Permission | What it allows |
|---|---|
| Delete or take the site offline | delete the site, disable it, bring it back |
| Clone and push between their sites | clone / push / link — only between sites shared with them (e.g. staging → live) |
| Change resource limits | the site’s CPU, RAM and IO caps |
| Isolation, hardening and .htaccess | PHP isolation, hardening, converting .htaccess into the site’s nginx config |
| Files | browse, upload and edit files in the site’s home folder (opens the File Manager on that site) |
| Database | phpMyAdmin on the site’s own database only — browse, edit, import and export |
| See backups | the site’s backup snapshots and when they ran |
| Restore backups | restore a snapshot over the live site (files, database, or both) |
| SFTP and SSH | log in with their SSH keys to a jailed account that sees only this site’s files |
| Environment variables (apps) | read and change a shared app’s environment |
| Update and roll back (apps) | pull new images, rebuild from its repository, roll back to an earlier release |
Whatever you switch on, a client can never create new sites, apps or stacks, install extensions, or reach a site that isn’t shared with them.
Access shows up as a filter, not a disabled button: sections a member can’t use are removed from their navigation, and their fleet list shows only the servers/sites they were granted.
How it works
Section titled “How it works”Everything on this page is real and control-plane only — it drives the /v1/team/* API,
not an agent on a box:
- The roster is
GET /v1/team/members. The owner is synthetic (resolved from the org’sowner_user_id, not a membership row) and always first. Each other member is anorg_membersrow; their scope lives inmember_scopes(server rows, or server+domain rows for site scope). - Invite (
POST /v1/team/invite) finds-or-creates a user by email, writes aninvitedmembership with a hashed one-time token, sets the scope rows, and emails the link. Accepting is a magic-link sign-in that flipsinvited → active. - Edit / suspend / reactivate / resend / remove map to
PATCHandPOST /…/suspend/reactivate/resendandDELETE /v1/team/members/:id. Every action writes anaudit_logsentry — that’s exactly what the Activity drawer reads back. - Enforcement runs on every request: the API resolves the caller’s effective grant
(role + scope + shell) and checks it against the resource —
coversServerfor a whole box,coversSitefor one domain, and a section→capability map for each server page. Site scope deliberately does not widen to the host server, so a Client never leaks a sibling site’s data.
Seat limits are per tier, counted besides the owner — free 0, Plus 1, Pro 4, Max unlimited, plus any operator-seat add-ons (suspended members don’t count against the limit).
Automate it
Section titled “Automate it”Team management is account-level, so the on-box mz CLI does not apply. The REST API
and MCP are on every plan; seat limits still apply to invites.
| Task | MCP tool | REST | Needs |
|---|---|---|---|
| List members | team_members | GET /v1/team/members | read |
Activity log (optional token=<token id> or actor=ai) | team_activity | GET /v1/team/activity | read |
| Invite | team_invite | POST /v1/team/invite | full + team:admin |
| Change role / scope | team_member_update | PATCH /v1/team/members/{id} | full + team:admin |
| Suspend / reactivate | team_member_suspend, team_member_reactivate | POST /v1/team/members/{id}/suspend · /reactivate | team:admin |
| Resend an invite | team_invite_resend | POST /v1/team/members/{id}/resend | team:admin |
| Remove | team_member_delete | DELETE /v1/team/members/{id} | full + team:admin |
team:admin is an opt-in scope: it is never implied by the token’s level, so a token
can only manage the team when it was created with that box ticked. See
Developer & API keys.
Gotchas & troubleshooting
Section titled “Gotchas & troubleshooting”- The page is owner/admin only. A member without
members.viewgets a “Team is owner-only” screen. Only the owner can invite, edit, suspend or remove; an Admin can view the roster and activity but not change it. - On a free plan you can’t invite anyone. The roster shows just you with a Pro upsell banner; the Invite member button is disabled until you upgrade to Plus or higher.
- Seat limit reached? Remove or suspend a member to free a seat, or move up a tier — Plus 1, Pro 4, Max unlimited, plus operator-seat add-ons. Suspended members don’t consume a seat.
- No ownership transfer / no workspace switcher yet. There’s one workspace per account, and true member-to-member ownership transfer is deferred. To hand the whole account to someone, change the account email to theirs; to let a colleague co-run it, invite them as Admin.
- The shell toggle is separate from the role. Even Admin and Operator don’t get root terminal / raw file write unless you explicitly enable Allow shell on that member. Non-shell roles never show the toggle.
- Invite email didn’t arrive? The membership is still created — open the pending row and use Copy link or Resend invitation; both rotate the token so the newest link is the valid one.
Related
Section titled “Related”- Security model — how auth, sessions and the audit log work.
- Plans & billing — seat counts and what each tier unlocks.
- API reference — scripting team changes (REST API and MCP, every plan).