feat: add team ownership verification to /injury commands (closes #18) #53
No reviewers
Labels
No Label
ai-changes-requested
ai-pr-opened
ai-reviewed
ai-reviewing
ai-working
in-next-release
status/in-progress
status/pr-open
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-v2#53
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/injury-team-ownership-check"
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?
Summary
_verify_team_ownership()helper toInjuryGroupthat checks if the invoking user owns the player's team (or an organizational affiliate)/injury set-newand/injury clearcommandsTest plan
tests/test_injury_ownership.pycovering:🤖 Generated with Claude Code
f387eddaf9tobb57868322bb57868322to99489a3c42