Membership roles, the role privilege matrix with per-user allow and deny overrides, scope rules, and the audit log of every patient record access.
Roles and Access
::/steps
Rules:
- An override wins over the role.
- A privilege cannot be both allowed and denied.
- Patients cannot get overrides.
- You cannot remove your own access to Roles & Privileges.
Audit log
Open /sa/admin/audit-logs (privilege View audit logs).
- What is logged: every view (
record.viewed) or change (record.changed) of a patient or visit record — who, role, patient, endpoint, IP, time. Repeat views by the same person are logged once per 10 minutes. Access under break-glass or time-bound access is logged every time, with the reason. - Also logged: sign-ins, privilege and matrix changes, scrutiny views, consent changes, data exports, data requests, purge runs.
- Columns: When, Actor, Role, Action, Patient, Why. Badges mark Break-glass and Time-bound access.
- Filters: Action (use
.*at the end for a group, for exampleconsent.*), From, To. - Records cannot be edited and are kept at least 7 years.
Assigning roles
New staff accounts and memberships are set up by the platform team or a hospital administrator with database access during onboarding. Ask them to add, move or remove staff, then review access every 90 days on PDPL Governance.