Every staff member has one or more roles. Each role grants access to features (booking, sales, inventory, etc.) and actions within those features (create invoice, delete invoice, refund, override floor price). You assign roles to staff; the system enforces what they can see and do everywhere.

Built-in roles#

The system ships locked role templates. You cannot rename or edit them, but you can clone any of them to make a custom role. Today's locked templates, grouped by function:

Leadership and admin#

  • Owner, elevated access within the clinic's subscription plan. Owner access does not unlock features outside that plan.
  • Owner (Limited), full elevated access except HR, catalog, accounting, reports. Display label is "Owner".
  • System Administrator, technical admin; elevated bypass for integrations and setup.
  • Workspace Billing Manager, subscription and billing only.
  • Branch Manager, single-branch operational lead, scoped to assigned branches.
  • Franchise Manager, cross-branch operational lead for franchise tenants.
  • Medical Director, cross-branch medical oversight.
  • Operations Admin, day-to-day ops without elevated bypass.

Clinical#

  • Doctor, Consultant, primary clinical roles with full chart access.
  • Nurse, Homecare Nurse, nursing staff (homecare nurse is scoped for the homecare vertical).
  • Physiotherapist.
  • Operator, non-clinical procedure operator (laser, etc.).

Front desk and call center#

  • Receptionist, Receptionist Manager.
  • Call Center Agent, Call Center Supervisor.

Finance#

  • Finance Officer, day-to-day invoicing and payments.
  • Finance Manager, refunds, credit notes, period close, all reports.
  • Billing Executive, billing operations.

Pharmacy and inventory#

  • Pharmacist, Pharmacy Operator.
  • Inventory Manager, Inventory Operator.

HR, marketing, records, compliance#

  • HR Manager, HR Officer.
  • Marketing Manager, Marketing Specialist.
  • Medical Records Officer, DHA and NABIDH compliance and patient data.
  • Quality Compliance Officer, audit access for compliance review (specific feature subsets, not blanket read-only).
  • Insurance Coordinator, claims handling.

Devices#

  • Tablet User, tablet-shell role for homecare visit capture.

Sales Representative, Warehouse Manager, Dentist, Accountant, Auditor, Loyalty Manager are common job titles but are not currently shipped as locked templates. Use the closest match (for example Marketing Specialist for a sales rep, Inventory Manager for a warehouse manager) or clone-and-customise.

Important correction. Prior docs said "most restrictive wins" for multi-role users. Reality: the system grants the UNION of all role permissions and scopes. Plan role assignments accordingly.

For owners, managing roles and staff#

Assign roles to staff#

  1. Open HR → Employees → [staff member].
  2. Roles section. Add or remove roles.
  3. A staff member can hold multiple roles. They get the union of permissions and scopes (adding a second role with a broader scope widens access).
  4. Branch membership comes from the user's User.branches list, separate from the role scope.

Create a custom role#

The custom-role designer always starts from a locked role. You clone, then strip what you do not want:

  1. Settings → Permissions, pick the locked role closest to what you want.
  2. Click Clone. Give the new role a name and description.
  3. The new role copies every grant from the source: menu items, feature CRUD flags, action codes, lookup endpoints, report codes, scope, and field masks.
  4. Tick or un-tick per resource to remove what this role should not have.
  5. Save. The role is immediately available in HR → Employees.

An empty-from-scratch path is not available. Clone-and-strip is the canonical workflow today.

What you can grant per role#

  • Menu access, which top-level modules show in the sidebar (separate from CRUD, so you can read endpoint X without seeing X in nav).
  • Feature CRUD, per feature: can create, read, update, delete.
  • Cross-module lookups, read-only endpoint whitelist for select-options pulls (for example Inventory Operator queries accounting.accounts.list without any other Accounting access).
  • Actions, named action codes for specific buttons (for example patient.discharge, sales.view_invoice_cost, sales.view_floor_override_audit).
  • Scope, named row-level filter applied to a feature: own_seller, own_consultant, branch, or absent (tenant-wide).
  • Reports, per report code.
  • Field masking, hide specific fields per role based on a rule (for example mask cost, commission, profit on invoice items when the row's seller is not me, unless I also hold the override action).

Elevated access vs action-gated work#

The Owner bypasses role-level grants for features included in the clinic's plan; an out-of-plan feature remains unavailable. Platform System Administrator privileges are different. Other users depend on their assigned role grants, required actions, and applicable permissions. Subscription state is also checked.

Examples of action codes that are sensitive but not Owner-exclusive:

  • sales.view_floor_override_audit, see who overrode a floor price and why (granted to Owner and Finance Manager by default).
  • sales.view_invoice_cost, sales.view_invoice_commission, sales.view_invoice_profit, financial visibility on invoice rows.
  • patient.discharge, discharge a patient session.
  • patient.sensitive_data.view, view_with_hidden, request, the three-state patient PII pattern.

If you need to give a role a sensitive power, grant the action code. Do not give the user Owner.

For managers. checking who can do what#

Permission preview#

Settings → Roles → [role] → Preview as. Shows what this role sees + can do. useful when designing custom roles.

Audit log#

The platform captures change history at the model level via simple_history (Historical* tables). There is no single unified Audit Log query screen today. Module record History tabs and the Active Sessions list per user are the main self-service paths; for cross-record queries contact platform support. See Security and audit for the per-entity reality.

How roles connect to the rest of the system#

  • Every other module: buttons, menus, lists are gated by roles.
  • HR → Employees: where roles are assigned to people.
  • Security & audit: sensitive actions logged with role at time of action.
  • Settings → Workspace: tenant-wide policies that interact with role permissions (e.g. small-refund threshold).
  • Multi-branch: staff scoped to branches; roles apply within scope.

Common situations#

  • "Staff member can't see the menu they need." Their role doesn't grant menu access. Add the role that does or extend the custom role.
  • "Receptionist tried to refund. got blocked." Refunds above the small-refund threshold need Finance Officer / Finance Manager. Adjust threshold or change role.
  • "Want to give a staff member temporary additional access." Add a second role; remove when no longer needed. Easier than editing the base role.
  • "Want one role across multiple branches with different scopes." Roles apply per assigned branch automatically. A doctor at Branch A + Branch B sees their patients at both, separately.
  • "Quality Compliance Officer needs read access to financials." Built-in role already grants read-only across modules. If you customized it, double-check.