You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(api): scope snapshot lookups by team (ENG-3544)
GetLastSnapshot previously filtered only by sandbox_id, so the API
handlers fetched the snapshot and then compared Snapshot.TeamID to the
requesting team after the fact. Push the team check into the query with
an optional team_id filter and drop the post-fetch ownership checks in
the connect/get/pause/resume handlers, so a sandbox_id belonging to
another team is indistinguishable from a missing one.
The snapshot cache Get now takes an optional teamID, uses a team-scoped
cache key, and Invalidate clears both the plain and team-scoped keys.
0 commit comments