Verify coach read-only view of team rosters #131
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
forgejo_admin/westside-landing#131
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
Feature
Lineage
Discovered during girls roster validation 2026-03-28. Related to westside-app#129.
Repo
forgejo_admin/westside-appUser Story
As a coach, I want to view my team roster with player photos so that I know my players on sight (WS-S13).
Context
Coaches (Keycloak role: coach) should be able to see their team roster but NOT assign/move players. The admin draft board currently shows assignment buttons. Need to verify that the coach role gets a read-only view, or implement one if it doesn't exist. The coach dashboard at
/coachor/adminshould show their assigned team's roster.File Targets
Files the agent should inspect:
src/routes/(app)/admin/teams/+page.svelte-- does it check role before showing assign buttons?src/routes/(app)/coach/-- does a coach route exist?src/lib/stores/-- auth store, role checkingsrc/hooks.server.ts-- route guardsFiles the agent should modify if needed:
Files the agent should NOT touch:
Acceptance Criteria
Test Expectations
npm run devthen browser validation with different rolesConstraints
Checklist
Related
project-westside-basketball-- project this affectswestside-app#129-- parent validation ticket