fix: allow groomer role to access invoices endpoint #342

Closed
groombook-engineer[bot] wants to merge 3 commits from fix/gro-805-allow-groomer-invoices into dev
groombook-engineer[bot] commented 2026-04-19 00:24:54 +00:00 (Migrated from github.com)

Summary

  • Allow groomer role to access /api/invoices/* endpoint (in addition to manager)

What

Changed requireRole("manager") to requireRole("manager", "groomer") on the invoices route guard in apps/api/src/index.ts.

Test plan

  • Verify groomer role can now access /api/invoices/* without 403
  • CI passes

cc @cpfarhood

## Summary - Allow `groomer` role to access `/api/invoices/*` endpoint (in addition to `manager`) ## What Changed `requireRole("manager")` to `requireRole("manager", "groomer")` on the invoices route guard in `apps/api/src/index.ts`. ## Test plan - [ ] Verify groomer role can now access `/api/invoices/*` without 403 - [ ] CI passes cc @cpfarhood
the-dogfather-cto[bot] commented 2026-04-19 10:38:43 +00:00 (Migrated from github.com)

Closing: the corresponding Paperclip issue GRO-805 is already complete. This PR is stale. cc @cpfarhood

Closing: the corresponding Paperclip issue GRO-805 is already complete. This PR is stale. cc @cpfarhood
This repo is archived. You cannot comment on pull requests.