Skip to main content

Roles and access

Veridian Motion uses role-based access control (RBAC) backed by Supabase Auth and Row-Level Security (RLS) on every table. Staff roles are granted only by an admin — there is no self-service role elevation.

Staff roles

RoleIDTypical access
Physical TherapistptAssigned assessments, review, notes, plan release, messaging
AdministratoradminEnrollment, assignment, role grant/revoke, MFA reset, full roster
OfficerofficerOperational access as configured (scoped by policy)
WardenwardenFacility-level visibility as configured
IT Adminit_adminSecurity settings, compliance views, technical administration
Exact permissions per role follow least-privilege defaults in the application. Officers and wardens see only what their role requires for custody and oversight — not necessarily full clinical notes.
Inmate access is separate: inmates authenticate with inmate number + PIN, not staff roles. Inmates see only their own submissions and reviewed/shared content.

Staff authentication

All staff accounts require:
  1. Email + password (minimum password rules enforced by Supabase Auth)
  2. TOTP MFA — authenticator app; six-digit code at /mfa after password
MFA is mandatory for dashboard access. There is no staff access without completing MFA enrollment.

Role provisioning

Admins manage roles at /staff (Staff & Roles):
  • Grant — assign a role to a staff email account
  • Revoke — remove a role; access ends on next session
  • View current role assignments and MFA status
Role changes are recorded in the append-only audit log.

Break-glass MFA reset

If a staff member loses their authenticator device, an admin may reset MFA for that account. After reset, the user must enroll MFA again at next sign-in. MFA resets are audit-logged.

Inmate credentials

ActionWhoResult
Enroll patientAdmin (or authorized role)Inmate number + initial PIN returned to staff
Reset inmate PINAuthorized staff from patient recordNew PIN shown once for handoff to inmate
Sign inInmate at kioskAccess to own submissions only
Inmates cannot change their PIN without staff assistance.

What the app enforces vs. agency provides

ControlEnforced by Veridian MotionProvided by agency
Role-based UI and API accessYes
RLS on database tablesYes
Staff MFAYes
Audit log of sensitive actionsYes
CJIS / FedRAMP hosting environmentYes
MDM device lockdownYes
Personnel screening / background checksYes
Physical kiosk supervisionYes

What’s next

Role permissions

Full permission matrix by role.

Provider dashboard

Day-to-day clinical workflow.

Security overview

Compliance posture and honest framing.