Skip to content

Roles & Permissions

Aevora uses role-based access control (RBAC) to ensure every staff member can access exactly what their job requires — no more, no less. Every staff account is assigned one role, and that role determines which modules appear in the sidebar and which actions can be performed on each resource.

Roles & Permissions view


Access control is enforced at two layers:

  1. UI layer — modules not permitted by the role do not appear in the sidebar; buttons for unauthorized actions are hidden.
  2. API layer — every API request is checked against the authenticated user’s permissions. A user who bypasses the UI (e.g., via direct API calls) still receives a rejected request.

Removing an item from the sidebar alone would not prevent access — Aevora enforces permissions on the server, not just cosmetically in the UI.

Aevora ships with exactly two system roles, which cannot be renamed, deleted, or have their permissions edited:

Role Purpose
OWNER Assigned to the facility’s primary account holder. Has every permission in the catalog and bypasses department-level restrictions (e.g., can approve any requisition regardless of department).
UNASSIGNED The fallback role staff are automatically moved to if their custom role is deleted.

Every other role — Attending Physician, Head Nurse, Pharmacist, Billing Officer, or whatever your facility needs — is a custom role your facility creates and fully controls. There is no fixed catalog of preset job-title roles; you build the set that matches your organization.

Custom roles also carry an optional “Is Doctor” flag and an optional extension (a professional title suffix like “M.D.” shown after a physician’s name in clinical screens) — neither affects permissions, they’re just display metadata.

Each resource in the catalog defines its own set of actions — there is no uniform view/create/edit/delete model applied everywhere. reports is view-only. ticket has viewAll and reply instead of edit/delete. journal-entries has post and void instead of delete. Always check a resource’s actual action set (below) rather than assuming the standard four.

Within a resource, view is a prerequisite for every other action: checking any other action for a resource automatically grants view too, and unchecking view cascades to remove every other action on that resource.

Give each staff member only the permissions they need to do their job — nothing more. A nurse doesn’t need finance access. A front-desk receptionist who registers patients doesn’t need to edit clinical assessments. When in doubt, start with fewer permissions and expand as needed — it’s much easier to add access than to audit what someone did with access they shouldn’t have had.


  1. Go to Administration → Roles & Permissions.
  2. Click New Role.
  3. Enter a role name — be specific (e.g., “Senior Nurse” or “Billing Supervisor”) rather than generic.
  4. Optionally enter a description, an extension (title suffix), and mark Is Doctor if this role represents a physician.
  5. Toggle permissions per resource (see the full matrix below) — remember that granting any action grants view too.
  6. Click Save.

Role permission toggle grid

The role is immediately available for assignment to staff accounts.

Role assignment happens from the staff record, not from this page:

  1. Go to Administration → Staff Accounts.
  2. Open the staff account and go to Roles and Credentials.
  3. Change the Role field.
  4. Click Save.

The change takes effect on the staff member’s next login.

Editing a role’s permissions affects every staff account currently assigned that role, immediately — there’s no staged rollout. Before editing a widely-used role, inform affected staff of the change. System roles (OWNER, UNASSIGNED) cannot be edited.

Open the role and click Delete. Any staff currently assigned to it are automatically reassigned to UNASSIGNED — there’s no need to manually reassign them first.

From Administration → Roles & Permissions, each role shows the count of staff currently assigned to it.


Every resource in the permission catalog and its available actions:

Resource Actions
staff view, create, update
staff-schedule view, edit
staff-leave view, create, void
roles view, create, update, delete, assign
hmo view, create, update, delete
patient view, create, update, delete
patient documents view, add, edit, delete
intake view, create, edit
vitals view, create, void
doctor notes view, create, void
nurse notes view, create, void
accounts view, create, update, delete
cash-flow-codes view, create, update, delete
inventory view, create, update, delete
journal-entries view, create, update, post, void
reports view
requisition view, create, approve, release, delete
workflow.definition view, create, edit, delete
workflow.clearance view, edit, waive
ticket view, viewAll, create, reply

Review role assignments at a cadence that fits your facility — at minimum, on every resignation or termination (deactivate the account immediately, see Staff Accounts) and on every promotion or transfer (update the role to match new responsibilities).