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. Licensed acts also need an active licence. Flags are defined in features/keystone/access.ts.

Permission flags

AreaFlags
Starter and fleet-mandatorycanSeeOtherPeople, canEditOtherPeople, canManagePeople, canManageRoles, canAccessDashboard, canManageOnboarding, canManagePayments, canIssueRefunds, canReadAudit
PracticecanManagePractice, canManageIntegrations, canManagePolicies, canManageFees, canApprovePolicies, canApproveFees
Clients and patientscanManageClients, canManagePatients, canMergeRecords, canApproveMerges, canReadClinical, canReadClientPII
SchedulecanBook, canOverbook, canCheckIn, canManageSchedules
ClinicalcanWriteRecord, canSignRecord, canOrder, canAdminister, canPrescribe, canPerformSurgery, canAuthoriseEuthanasia
PharmacycanDispense, canFulfilRefill, canManageRefills
Controlled substancescanAdministerControlled, canWitnessControlled, canCountControlled, canReceiveControlled, canManageControlled, canViewControlled
InventorycanManageInventory, canReceiveStock, canOrderStock, canApprovePurchase, canReleaseQuarantine
MoneycanTakePayments, canPostInvoices, canAddManualCharge, canDiscount, canApproveDiscount, canApproveWriteOff, canViewFinance
RecordscanProcessRecordsRequests, canApproveRecordsRelease
Boarding and groomingcanManageBoarding, canGroom
CommunicationscanMessageClients, canManageTemplates
AgentscanManageAgents, canApproveAgentScopes
Break-glass (never seeded)canBreakGlass

Seeded roles

Loading the sample practice creates these roles.

RoleWhat it does
Owner / Medical DirectorEverything clinical and operational, incl. policies, fees, integrations, CS registrant duties and approvals. Break-glass is never seeded.
Practice ManagerSchedules, staff, inventory, reports, approvals (discounts, refunds, write-offs) within thresholds; no clinical signing.
Veterinarian (DVM)Examine, sign records, order, prescribe, approve refills, authorise euthanasia; CS administration and witness. Licensed acts also need an active CA licence.
Relief DVMAs DVM, time-boxed by the user access expiry and limited to assigned locations.
Credentialed Technician (RVT)History, vitals, treatments, anaesthesia records, supervised vaccines; CS administration under an order, witness and counts.
Assistant / KennelTasks, run cards, daily care logs and feeding; no controlled substances.
Client Service RepresentativeClients and patients, booking, check-in/out, payments, estimate presentation, records and refill intake.
GroomerGroom schedule and notes.
Inventory LeadItems, purchase orders, receiving (CII receipts need a registrant co-sign), counts, quarantine.
BookkeeperInvoices, payments, statements, exports, period close.
Agent OwnerOwns AI agent identities and requests their grants; a second person approves.
AI AgentLeast privilege for AI agents. Holds no permission: an agent acts only through its tool grants and never inherits the person who connected it.

On this page