paperclip/server/src/middleware
Forgotten e1f2be7ecf feat(server): integrate Better Auth, access control, and deployment mode startup
Wire up Better Auth for session-based authentication. Add actor middleware
that resolves local_trusted mode to an implicit board actor and authenticated
mode to Better Auth sessions. Add access service with membership, permission,
invite, and join-request management. Register access routes for member/invite/
join-request CRUD. Update health endpoint to report deployment mode and
bootstrap status. Enforce tasks:assign and agents:create permissions in issue
and agent routes. Add deployment mode validation at startup with guardrails
(loopback-only for local_trusted, auth config required for authenticated).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 14:40:32 -06:00
..
auth.ts feat(server): integrate Better Auth, access control, and deployment mode startup 2026-02-23 14:40:32 -06:00
board-mutation-guard.ts feat(server): integrate Better Auth, access control, and deployment mode startup 2026-02-23 14:40:32 -06:00
error-handler.ts fix(issues): support hidden issue flows and filter hidden activity 2026-02-20 07:11:06 -06:00
index.ts Add API server with routes, services, and middleware 2026-02-16 13:31:58 -06:00
logger.ts Clean up attachment objects on issue delete and suppress responseTime in logs 2026-02-20 11:29:03 -06:00
validate.ts Add API server with routes, services, and middleware 2026-02-16 13:31:58 -06:00