Bỏ qua để đến nội dung
Team & roles Invite teammates and customers, give each a role and a scope, and audit who did what.

Team & roles

Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.

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.

  1. Click Invite member (top-right — visible to the account owner only).
  2. Enter the person’s email address. They don’t need an account yet; the invite creates one tied to that email.
  3. 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.
  4. 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.
  5. 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.
  6. 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.

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.

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.

RoleWhat they can doScopeShell-capable
OwnerEverything, including billing, members and integrationsAccount-wideYes
AdminFull technical control of every server; no billing, no member management (can view the team)Account-wideYes
OperatorFully manage & administer the servers they’re assigned — like a hired sysadminServersYes
DeveloperBuild, deploy and configure the sites/servers they’re assigned; no system administrationSites or serversNo
ClientRun their own site — content, plugins, cache and stats; never sees the serverSitesNo
Site adminA Client, plus their own site’s SSL certificate and PHP versionSitesNo
BillingInvoices, plan and payment methods only; no technical accessAccount-wideNo
Read-onlyView-only within the assigned scope; cannot change anythingAnyNo

Owner is a reserved singleton — it’s not offered in the invite picker; the other seven are assignable.

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.

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 levelWhat they can do
Content editorPosts, pages, media, plugins, themes, cache and stats
Site managerThe above, plus SSL, PHP version, taking the site offline and its resource limits
DeveloperEverything on the site, incl. WP-Cron, DNS records of their domain, clone between their sites, isolation and .htaccess
CustomChoose 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.

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.

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.

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:

PermissionWhat it allows
Delete or take the site offlinedelete the site, disable it, bring it back
Clone and push between their sitesclone / push / link — only between sites shared with them (e.g. staging → live)
Change resource limitsthe site’s CPU, RAM and IO caps
Isolation, hardening and .htaccessPHP isolation, hardening, converting .htaccess into the site’s nginx config
Filesbrowse, upload and edit files in the site’s home folder (opens the File Manager on that site)
DatabasephpMyAdmin on the site’s own database only — browse, edit, import and export
See backupsthe site’s backup snapshots and when they ran
Restore backupsrestore a snapshot over the live site (files, database, or both)
SFTP and SSHlog 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.

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’s owner_user_id, not a membership row) and always first. Each other member is an org_members row; their scope lives in member_scopes (server rows, or server+domain rows for site scope).
  • Invite (POST /v1/team/invite) finds-or-creates a user by email, writes an invited membership with a hashed one-time token, sets the scope rows, and emails the link. Accepting is a magic-link sign-in that flips invited → active.
  • Edit / suspend / reactivate / resend / remove map to PATCH and POST /…/suspend /reactivate /resend and DELETE /v1/team/members/:id. Every action writes an audit_logs entry — 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 — coversServer for a whole box, coversSite for 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).

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.

TaskMCP toolRESTNeeds
List membersteam_membersGET /v1/team/membersread
Activity log (optional token=<token id> or actor=ai)team_activityGET /v1/team/activityread
Inviteteam_invitePOST /v1/team/invitefull + team:admin
Change role / scopeteam_member_updatePATCH /v1/team/members/{id}full + team:admin
Suspend / reactivateteam_member_suspend, team_member_reactivatePOST /v1/team/members/{id}/suspend · /reactivateteam:admin
Resend an inviteteam_invite_resendPOST /v1/team/members/{id}/resendteam:admin
Removeteam_member_deleteDELETE /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.

  • The page is owner/admin only. A member without members.view gets 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.