Commit Graph
5 Commits
Author SHA1 Message Date
isaaccladandCursor eaba400c7c Align queue/branch and specialty CTA tests with patient-queue access rules.
Deploy Ladill Care / deploy (push) Successful in 42s
hospital_admin no longer opens /queue, and nurses get Specialty home instead of Back to queue after the patient-flow board gate.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-18 19:51:55 +00:00
isaaccladandCursor 65e54d1253 Cover all floor roles in specialty CTA ability gating.
Deploy Ladill Care / deploy (push) Successful in 24s
8a5330d already keyed Start/stage/vitals on CarePermissions for every
role; add receptionist, lab, pharmacist, and GP-without-module-manage
tests so we never regress to nurse-only branching.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-18 18:49:20 +00:00
isaaccladandCursor 8a5330d3d2 Gate specialty mutate CTAs on Care abilities, not only module manage.
Deploy Ladill Care / deploy (push) Successful in 1m3s
Nurses can manage limited specialties but lack consultations.manage, so
hide Start/stage/chart edits that 403 while keeping queue/vitals/billing
aligned with what those routes actually authorize.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-18 18:45:00 +00:00
isaaccladandCursor 9e32eb32c5 Hide specialty mutate UI when staff lack manage access.
Deploy Ladill Care / deploy (push) Successful in 36s
View/refer users keep read surfaces and refer actions; zero-access
modules stay out of nav via existing enabledModulesForMember filtering.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-18 18:33:07 +00:00
isaaccladandCursor 2cff8fdd6c Gate specialty modules by staff role with view and refer levels.
Deploy Ladill Care / deploy (push) Successful in 37s
Give nurses, lab techs, pharmacists, and GPs broad access to day-to-day modules, keep restricted specialties for specialists (with support nurses), and let GPs view results or refer without full clinical edit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-18 18:03:47 +00:00