Fix WebSocket 403 and restore dependency resolution for auth
- websocket.py: restore Depends(get_current_user_ws) in endpoint signature
  so FastAPI dependency_overrides work correctly in tests
- websocket.py: accept WebSocket before access check; reject anonymous
  only for owned sessions, allow anonymous for legacy (user_id=None)
- auth/deps.py: add info-level logging to get_current_user_ws entry/exit

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 2d5ec76 commit 3279640b0b947d9edb87551d21c5910389718229
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 4 May
Showing 2 changed files
View
navi/api/websocket.py
View
navi/auth/deps.py