This repository has been archived on 2026-05-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
app/apps/api/src
Barkley Trimsworth 93f1cfef1f fix: allow groomer and receptionist roles to read staff records
GRO-162: Groomer role was blocked from GET /api/staff with 403 because
the /staff/* route guard required "manager" role for all HTTP methods.

Changed the guard to only require "manager" for write operations
(POST/PUT/PATCH/DELETE), matching the pattern used for /clients and
/appointments where all roles can read but only managers (or managers
+ receptionists) can write.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-28 20:24:22 +00:00
..