Files
bdinvite/backend
kiskaadee 0133408087 feat(admin): migrate admin routes to group authorization and enforce negative Remote-User barrier
- Migrate all admin endpoints in routes/admin.py to consume group authorization dependency (AdminDep / require_admin).
- Purge legacy Remote-User header dependency from admin routes and OpenAPI documentation.
- Add negative security barrier tests strictly rejecting Remote-User header injection with HTTP 401 when unauthenticated and HTTP 403 when authenticated without admin group.
- Update admin test suites, fixtures (admin_client, guest_client, login_client), and configuration/preview tests to authenticate via signed session cookies.
2026-10-07 06:48:57 -05:00
..