Bug: Console 403 error fires on coach /admin redirect #186
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/westside-app#186
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Bug
Lineage
Discovered during #142 E2E coach login validation.
Repo
forgejo_admin/westside-landingWhat Broke
When a coach navigates to /admin, the app fires API calls to
/admin/teamsor/admin/dashboardbefore the role-based redirect kicks in, producing 403 console errors. The redirect itself works correctly.Repro Steps
Expected Behavior
Role should be checked before making admin API calls, avoiding the 403. The redirect should happen without API noise.
Environment
Acceptance Criteria
Related
forgejo_admin/westside-landing#142— discovered during validationproject-westside-basketball