Strengthen WebSocket authentication #198
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Problem
WebSocket authentication only checks for presence of userId/workspaceId in client.data but doesn't validate if these values are actually authenticated or if user has workspace access.
Location
apps/api/src/websocket/websocket.gateway.ts:94-100
Issues
Acceptance Criteria
Implementation
Testing
References
M4.2-Infrastructure verification report (2026-02-02)