claude-memory/graph/solutions/team-ownership-in-auth-flow-c6559a.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

13 lines
536 B
Markdown

---
id: c6559a13-1a47-45e9-9914-38362cc45475
type: solution
title: "Team ownership in auth flow"
tags: [strat-gameplay-webapp, python, vue, auth, fix]
importance: 0.6
confidence: 0.8
created: "2026-01-14T02:28:24.504551+00:00"
updated: "2026-01-14T02:28:24.504551+00:00"
---
Added get_teams_by_owner() to SBA API client using owner_id query param. Updated /api/auth/me to return user's teams. Frontend myTeamId now computed from authStore.userTeams matching game's home/away team IDs. isMyTurn checks actual ownership. Fixes CRIT-002.