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.

Permission flags

AreaFlags
NKS and fleet-mandatorycanSeeOtherPeople, canEditOtherPeople, canManagePeople, canManageRoles, canAccessDashboard, canManageOnboarding, canManagePayments, canIssueRefunds, canReadAudit
OrganisationcanManageOrganization, canManageShops, canManageIntegrations, canAccessAllShops
PolicycanManagePolicies, canPublishPolicies
CustomerscanManageCustomers, canApproveMerge, canReadCustomerPII
SchedulingcanManageSchedule
Repair orderscanWriteRepairOrders, canSendEstimates, canRecordAuthorizations, canApproveReopen, canApproveRelease, canReadRepairOrders
Inspections and diagnosiscanPerformInspections, canDiagnose, canOverrideTrustGate
PricingcanPriceJobs, canApprovePriceOverride, canApproveDiscount, canSeeCost
PartscanManageParts, canOrderParts, canReceiveParts, canApproveSupplierInvoice, canApproveStockAdjustment, canApproveCoreWriteOff
LaborcanClockSelf, canManageTime, canApproveTime, canClosePayPeriod, canReadTechPay
MoneycanFinalizeInvoices, canTakePayments, canCloseDay, canApproveRefund, canApproveWriteOff, canApproveCredit, canApproveCreditMemo, canReadFinancials
WarrantycanManageComebacks, canApproveGoodwill
CommunicationscanMessageCustomers, canManageCampaigns
TirescanManageTireRegistrations
AgentscanManageAgents, canConfirmProposals, canApproveAgentAutonomy
ReportingcanReadReports
Break-glass (never seeded)canBreakGlass

Seeded roles

Loading the sample shop group creates these roles.

RoleWhat it does
OwnerEverything in the organisation, including approvals of last resort.
Shop ManagerRuns a shop: drafts policy, approves discounts, overrides, write-offs and time.
Service AdvisorFront counter: customers, appointments, ROs, estimates, authorizations, invoices and payments. No cost view.
Lead TechnicianDispatch, quality checks and the team clocks.
TechnicianAssigned jobs, inspections, diagnosis and own clocks. No customer financials.
Parts ManagerSuppliers, quotes, orders, receiving, stock, cores and supplier invoices.
BookkeeperPayments, AR, statements, day close and accounting exports.
MarketingTemplates, consent-gated campaigns and reviews. No RO edits.
AuditorRead-only and time-boxed by the user access expiry.
Customer PortalStorefront API session only; no dashboard.
Fleet ApproverFleet portal API session only; no dashboard.

On this page