- 313 new markdown files created - 30 relationships embedded - 313 entries indexed - State initialized with usage data
13 lines
536 B
Markdown
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.
|