V8 Central — Product & Technical Spec
  1. Docs
  2. Core platform
  3. Roles & permissions

#Roles & permissions

The backend is the final authority. The frontend only hides or disables what the user can't use, so the UI isn't confusing.

#What exists in each source

SourceRolesPermission shape
V7 V7 onlyPer organization: system owner + admin (created with the organization) + custom roles. A member can hold several rolesBoolean grants: a role has a permission or not. ~92 permission rows on levels organization, dashboard, server, application, database, backup, cronjob, firewall, application-user, plus integration sub-levels. Each row also says which plan tiers include it (free_default, newbie_default, pro_default, …)
OSS OSS APIPanel roles (Administrator + custom)Three states per permission: none (hidden), view (read only), manage (read & write). Catalog GET /admin/permissions with groups and access_levels. 35 permissions: server-level (dashboard, application, database, system_user, firewall, cronjob, fail2ban, logs, service, php, node, setting, disk_cleaner, backup, activity_log, sync, git, storage) and application-level (app_dashboard, app_domain, app_deployment, app_environment, app_worker, app_file, app_log, app_backup, app_php, app_security, app_firewall, app_bot_blocker, app_fail2ban, app_staging, app_clone, app_magic_login, …)
Demo Demo UI onlyAdmin, Member (system) + custom`level.name.view
V8 doc V8 requirement Phase 4 (2026-10-03, list added 2026-10-08)Owner and Admin are fixed. Custom roles per organization. One role per member. A role can't be deleted while members hold itview and / or manage per permission, stored as two flags on the role ↔ permission link (as OSS), where manage includes view, create, edit and delete — no separate delete. The names are now published: 4.9 lists 37 keys (6 organization · 14 server · 15 application · 2 add-on), five of them view only, and organization.usage-summary (was organization.usage-summary, renamed 2026-10-17) owner only. Parent rules in 4.10, the seeder in 4.11 — see FE: Permissions & role matrix

#Roles

Update 2026-10-27 (Pair 2 review fixes): someone who isn't the owner can only grant or assign permissions they hold themselves — otherwise 403 permission_not_held. In the role editor and the member's role picker, disable the permissions (and roles) the current user doesn't hold, with the reason "You can only give permissions you have." A personal API token can't change roles.

RoleRulesSource
OwnerCreator of the organization. Full access including billing, delete organization, remove members. Can't be removed. Exactly one? V7 allows only the creator AssumptionV7 only
AdminFull organization access except owner-only items (billing/plan/usage summary hidden by default). Fixed role, permissions read-only V8 requirement Phase 4 (4.5). An old owner who transfers the organization becomes admin (4.7)V7 only V8 requirement
Custom rolesCreated per organization, any permission set. Editable and deletableV7 only Route::resource('roles')

Role operations (V7): list, create, show, update, delete. V8 Missing.

  • Create needs a unique role name and at least one permission (permission_ids). V7 only
  • Deleting: owner and admin are refused. V8 refuses to delete a custom role while any member holds it V8 requirement Phase 4 (4.5) — stricter than V7, which deleted it anyway. The UI disables Delete with "N members use this role — move them first".

#Permission matrix (proposed V8 defaults)

N = no access · V = view · M = manage.

AreaOwnerAdminCustom (example "Developer")Notes
DashboardMMVSpend widget hidden without Billing view
Servers (list, connect, disconnect)MMVConnect/disconnect = manage
Server Details → per OSS permissionMMper grantMaps to the OSS catalog names (application, database, system_user, service…)
ProvidersMMNHolds cloud credentials
BlueprintsMMV
Organizations (settings)MVNRename/logo = manage. Delete = owner only
MembersMMNRemove members: V7 owner only
RolesMMNSystem roles read-only
PlansMNNV7 owner-only
SubscriptionMNNV7 owner-only
BillingMNNV7 owner-only
Audit LogMVNRead-only area. "M" = export Assumption

#Plan-gated features

In V7 a permission can be off because of the plan: VerifyPermission checks {plan}_default on the permission for the owner's tier (except members, role-permissions, share-server). The UI should show such items as locked with an upgrade hint, not hidden. V8 needs the API to return the reason: denied_by: role | plan | subscription_expired. Missing

#Frontend behaviour

  • Load the current user's permission map once per organization switch (V7 my-permissions/{level}). Missing — the names are published (4.9) but the endpoint is not, so this is still the one piece the frontend cannot build against.
  • Hide sidebar entries with none. Disable action buttons with a tooltip for view.
  • Never rely on the hidden state: every mutation can still return 403. Handle it with a toast and a permission refresh.

#Shared servers (V7)

V7 also lets an owner share one server with a person (organization_members.server_id, /servers/{server}/share-server). The person sees only that server.

Admin B17.2a clarification (2026-10-12): staff Roles is separate from organization roles: view reads role lists/permissions/admin assignments; manage changes/deletes/assigns. Login as user is its own manage-only permission. Users: manage includes neither. Requirements only; admin roles/catalog/sidebar still unbuilt. Admin screen states.

**Latest B17.2/17.2a built on Pair1:**59-entry admin catalog/API51, role list/detail/create/edit/delete and administrator list/assign APIs52–58; admin-roles view/manage, fixed SuperAdmin, in-use deletion refusal, last-active-verified-role-manager lockout guard. Own /admin/me adds admin_role/effective permissions. Sidebar/menu still17.3 unbuilt, Pair2 presence unconfirmed; no trial/restore screen from catalog labels. Built editor. Earlier unbuilt notes superseded only for17.2.

B17.11 revised (2026-10-16, Pair1): no separate admin Organizations screen — admins open a user's organization under Users → user → Organizations (API69), which gets tabs members, servers, charges, deleted servers (with restore), subscription, backups (users.organizations.*, view/manage; only members can be built now, the rest wait for Phases 7–8). Catalog back to 59 permissions, 33 sidebar screens. ⚠ Deleted servers + restore conflicts with Bhavik's 'not in V8' rule (D-63).

Latest B17.3 (Pair1): GET /api/v1/admin/menu built, active verified administrator; role-filtered translated group/title/Lucide/localURL/order/parent, no role→empty. 59 permissions, 34 sidebar screens at that time — now 53 permissions / 33 sidebar screens after B17.11 (2026-10-16); tabs/actions no URLs. Queue-size page/permission removed, Horizon instead. B17.4+ business/viewer unbuilt; menu≠working destination, Pair2 availability unconfirmed. Menu states.

ServerAvatar V8 Central · prepared by central-app-2 (Pair 2 frontend) for Bhavik Jethwa · the frontend in this spec is not built yet; the backend started on 2026-10-08 · Built 2026-11-30 12:01 UTC