Skip to content

fix: add LoginRequiredMixin to tag views; translate German comment#157

Merged
dholbach merged 1 commit into
mainfrom
fix/quarterly-review-findings
Jul 2, 2026
Merged

fix: add LoginRequiredMixin to tag views; translate German comment#157
dholbach merged 1 commit into
mainfrom
fix/quarterly-review-findings

Conversation

@dholbach

@dholbach dholbach commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Summary

Two findings from quarterly review:

  • tag_views.py: all four CBVs (TagListView, TagCreateView, TagUpdateView, TagDeleteView) and three FBVs (client_add_tag, client_remove_tag, get_available_tags) were missing login protection. PracticeScopeMiddleware does not enforce authentication, so these were accessible without login. Added LoginRequiredMixin / @login_required to match every other view.
  • seed_sample_data.py:150: stray German inline comment translated to English (P-038).

Test plan

  • 13 tag view tests pass

🤖 Generated with Claude Code

tag_views.py: all four CBVs and three FBVs were missing login
protection — added LoginRequiredMixin / @login_required to match
every other view in the codebase.

seed_sample_data.py: translate stray German inline comment to English
(P-038).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dholbach dholbach merged commit 3ae71b4 into main Jul 2, 2026
1 check passed
@dholbach dholbach deleted the fix/quarterly-review-findings branch July 2, 2026 19:04
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