Enable public access to draft events #133
No reviewers
Labels
No labels
Closed As
Duplicate
Closed As
Fixed
Closed As
Invalid
easyfix
enhancement
ai-review-please
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
pr2jira
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Blocks
#131 Make draft test days visible to everyone
quality/testdays-web
Reference
quality/testdays-web!133
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/131-make-drafts-public"
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?
Make draft events visible to everyone
Fixes #131
Assisted-by: Claude Code
WIP: Enable public access to draft eventsto Enable public access to draft eventsAI Code Review
📋 MR Summary
Enables public visibility of draft testday events by removing the permission checks for draft status in the index route.
Detailed Code Review
The changes successfully implement the objective described in the PR/commit messages (Fixes #131). By removing the conditional check in the
index()route, all events are now fetched regardless of draft status or user permissions. However, ensure that exposing draft events does not leak sensitive information that should remain private during the drafting phase. The added test adequately covers the new behavior for anonymous users.📂 File Reviews
📄 `testdays/controllers/main.py` - Removed query filtering that hid draft events from non-creator users.
📄 `tests/functional/test_main.py` - Added a new functional test for the index page to verify draft visibility.
✅ Summary
🤖 AI Code Review | Generated with ai-code-review | Model:
gemini-3.1-pro-preview⚠️ AI-generated suggestions may be incorrect. Verify before applying. Not a replacement for human review.
Enable public access to draft eventsto WIP: Enable public access to draft eventsWIP: Enable public access to draft eventsto Enable public access to draft eventsReady for review
LGTM, thanks