Skip to content

Conversation

@ArthurJCQ
Copy link
Owner

Summary

  • Add get-room-spectator serialization group for limited data exposure to spectating players
  • Spectators can view room/player info but sensitive data (targets, missions) is hidden
  • Game masters retain full access despite having SPECTATING status
  • Includes migration, API tests, and voter unit tests

Spectators can view room information but with restricted serialization
groups (get-room-spectator) that hide sensitive game data like targets
and missions. Game masters retain full access despite having SPECTATING
status.
- Remove unused SPECTATE_ROOM voter code and related unit tests
- Add filter_var validation for spectate parameter to ensure boolean type
- Fix incomplete test by renaming and adding proper test coverage for
  existing player rejoin scenario
@ArthurJCQ ArthurJCQ changed the title Add spectator mode with limited room view Add spectator mode with limited room view (#minor) Jan 18, 2026
@ArthurJCQ ArthurJCQ merged commit 48301e7 into main Jan 18, 2026
2 checks passed
@ArthurJCQ ArthurJCQ deleted the feature/spectator-mode branch January 18, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants