Roles and permissions

Permission flags, the seeded roles, and what each one allows.

Access is permission-based. A role is a set of boolean permission flags on Role, and every custom mutation checks the flag it needs on the server. Flags are defined in features/keystone/access.ts. The AI Agent role holds no permissions: an agent acts only through its tool grants.

Permission flags

AreaFlags
Starter and fleet-mandatorycanSeeOtherPeople, canEditOtherPeople, canManagePeople, canManageRoles, canAccessDashboard, canManageOnboarding, canManagePayments, canIssueRefunds, canReadAudit
Company, integrations, policies and operationscanManageCompany, canManageIntegrations, canManagePolicies, canApprovePolicies
CRMcanManageCustomers, canMergeCustomers, canApproveMerges, canRevealAccessSecret, canReadCustomerPII
DemandcanManageLeads, canManageCampaigns
Booking and dispatchcanBook, canOverbook, canApproveOverbook, canDispatch, canViewBoard
FieldcanWorkVisits, canPresentEstimates, canSellEstimates
Price book and discountscanManagePriceBook, canApprovePriceBook, canApproveDiscounts
BillingcanManageInvoices, canTakePayments, canPostInvoices, canApproveWriteOff, canApproveCredits, canApproveRefunds
Financing and membershipscanOfferFinancing, canManageMemberships, canSellMemberships
Equipment and warrantycanManageEquipment, canSubmitWarrantyClaims, canApproveWarrantyWriteOff
Inventory and purchasingcanManageInventory, canPurchase, canReceive, canApprovePurchases, canApproveStockVariance
CompliancecanManagePermits, canManageRefrigerant
Labour and paycanApproveTimesheets, canManagePayPlans, canRunPayroll, canApprovePayPlans, canApprovePayPeriods, canReadPay
AccountingcanManageAccounting, canCloseAr, canApproveArClose
CommunicationscanSendMessages, canManageTemplates, canRunCampaigns, canApproveCampaigns
AgentscanManageAgents, canApproveAgentGrants
Break-glass (never seeded)canBreakGlass

Seeded roles

Loading the sample company creates these roles.

RoleWhat it does
AI AgentLeast privilege for AI agents. Holds no permission: an agent acts only through its tool grants, and never sees cost or margin.
OwnerEverything except break-glass. Break-glass is never on a default role.
General ManagerRuns the shop day to day and approves money and policy changes.
CSRAnswers calls, books jobs, takes payments and sells memberships.
DispatcherOwns the board: assigns, reassigns and overbooks within limits.
TechnicianWorks assigned visits in the field app: estimates, payments, equipment and refrigerant entries.
Comfort AdvisorReplacement sales: presents good/better/best options and financing.
Service ManagerRuns the service department: discounts, overbooks, timesheets, warranty and the price book draft.
Install ManagerRuns installs: permits, purchasing and install crews.
WarehouseReceives, counts and replenishes trucks.
AccountingInvoices, payments, AR, refunds and the accounting export.
Payroll AdminTimesheets, pay plans and pay periods.
MarketingCampaigns, tracking numbers and message templates.
CustomerCustomer portal API only; no dashboard.
Payer ContactThird-party payer portal API only (home warranty, property managers); no dashboard.

On this page