feat(GRO-564): Better Auth Phase 2 Security Hardening #265
Reference in New Issue
Block a user
Delete Branch "feature/gro-564-better-auth-security-hardening"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
signOut()auth.tsmiddlewarePATCH /api/staff/:id/link-userendpoint for manual staff-user linking by managers/super usersChanges
apps/api/src/lib/auth.ts— addedrateLimitconfig to both Better Auth instancesapps/api/src/middleware/rbac.ts— removed auto-linking block, cleaned up unused importsapps/api/src/routes/staff.ts— addedPATCH /:id/link-userendpointapps/web/src/App.tsx— added logout button toAdminLayoutnavDefinition of Done
cc @cpfarhood
Deployed to groombook-dev
Images:
pr-265URL: https://dev.groombook.farh.net
Ready for UAT validation.