Skip to content

Fix/objective set own team - #13

Merged
MarkJYoung merged 2 commits into
mainfrom
fix/objective-set-own-team
Oct 7, 2026
Merged

MarkJYoung merged 2 commits into
mainfrom
fix/objective-set-own-team

Conversation

@MarkJYoung

Copy link
Copy Markdown
Contributor

No description provided.

MarkJYoung and others added 2 commits October 7, 2026 17:04
The objective 'Set' picker (ObjectiveForm) listed every non-archived set, so an
objective owned by one team could be linked to another team's set. Scope the set
choices to the objective's own team (TEAM-scoped sets) when it already has one —
keeping whatever set it currently points at selectable so editing other fields
never forces a set change, while blocking new cross-team picks. A brand-new,
unowned objective still sees all sets, since the set it picks is what defines its
team. The queryset guards both the dropdown and server-side validation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Confirms the only set-offering dropdown (ObjectiveForm's 'Set') lists only the
team's own sets when creating a new objective under one, not just when editing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@MarkJYoung
MarkJYoung merged commit f40ef8d into main Oct 7, 2026
1 check passed
@MarkJYoung
MarkJYoung deleted the fix/objective-set-own-team branch October 7, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant