1
0
Fork 0
polaris-task-force/src/components
Z8MB1E 8cda724e21 feat(event-log): configurable per-event visibility with permission gates
- game-event-logs gains visibility (public|restricted) + requiredPermissions
  (any-of gate from the permission registry); read access becomes a Where
  clause: public OR actor-is-me OR held permission; superusers and
  game-event-logs:update staff see all; admin panel gate unchanged
- src/utils/event-log/visibility.ts: per-type policy map consumed by
  emitGameEvent, with per-emit overrides; npc:dialogue and flag:set start
  restricted, everything else stays public
- PlayerFlags hooks emit restricted flag:set audit events on every flag
  write (admin edits and dialogue effects alike)
- fix dashboard RecentEvents leaking events: local API find now runs as
  the viewer with overrideAccess false
- SSE broadcast sends an opaque nudge for restricted events instead of
  type/actor metadata
- /events table marks restricted rows with a lock badge
- migration 20261007_025942_add_event_log_visibility + regenerated types
- tests/int/event-log-visibility.int.spec.ts (8 cases)
2026-10-06 23:31:30 -04:00
..
admin feat(npc-dialogue): stacked markup, link popups, new badges, locked choices, timed flags 2026-10-06 17:06:27 -04:00
awards/ribbonDesign feat(awards): add ribbon submissions collection, design validation and migration 2026-09-11 03:25:59 -04:00
command-palette feat(blackjack): add blackjack minigame with realtime table wiring 2026-09-14 15:38:05 -04:00
frontend feat(event-log): configurable per-event visibility with permission gates 2026-10-06 23:31:30 -04:00
graphics feat: application staging deployment (ensure better commits after this) 2025-12-15 01:14:30 -05:00
static fix(version): compose version+commit label when git describe is unavailable 2026-09-06 17:23:03 -04:00
ui feat(missions): add a per-mission planning map with Arma markers 2026-10-04 02:53:21 -04:00