mirror of
https://github.com/temetro/temetro.git
synced 2026-07-26 11:58:14 +00:00
e37d131800
Drop the unused read-only "viewer" role and remap any members (and pending invitations) holding it to "member" via a custom migration. Add a "lab" statement (read/write) granted to all full clinicians, plus two new provisionable department roles: "pharmacy" (patient/appointment read, prescription read+write — no delete, which doubles as the full-clinician marker the frontend probes) and "lab" (patient/appointment read, task queue, lab results via the new statement). Both join TASK_DEPARTMENTS so tasks can be assigned to them. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>