When a league has the "Make draft board publicly accessible" setting enabled, unauthenticated users could view the draft-board route but were incorrectly blocked from the draft room route with a 401. Restructure the loader to check isPublicDraftBoard before enforcing auth/membership requirements, matching the behaviour already implemented in the draft-board route. https://claude.ai/code/session_016JiVAG2FrPYjAvSJi3daGD Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| $leagueId.draft-board.$seasonId.tsx | ||
| $leagueId.draft.$seasonId.tsx | ||
| $leagueId.server.ts | ||
| $leagueId.settings.tsx | ||
| $leagueId.sports-seasons.$sportsSeasonId.server.ts | ||
| $leagueId.sports-seasons.$sportsSeasonId.tsx | ||
| $leagueId.standings.$seasonId.teams.$teamId.tsx | ||
| $leagueId.standings.$seasonId.tsx | ||
| $leagueId.tsx | ||
| new.tsx | ||