feat(api): RBAC Phase 2 - row-level data scoping for groomer role #121

Closed
groombook-engineer[bot] wants to merge 17 commits from feature/gro-48-rbac-row-level into main
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 012b6bc1cd - Show all commits
+1
View File
@@ -111,6 +111,7 @@ api.route("/clients", clientsRouter);
api.route("/pets", petsRouter);
api.route("/services", servicesRouter);
api.route("/appointments", appointmentsRouter);
api.route("/portal", portalRouter);
api.route("/staff", staffRouter);
api.route("/invoices", invoicesRouter);
api.route("/reports", reportsRouter);
+1 -1
View File
@@ -64,7 +64,7 @@ portalRouter.patch(
.where(eq(appointments.id, id))
.returning();
if (!updated) {
if (!updated) {
return c.json({ error: "Not found" }, 404);
}