Files
nuzlocke-tracker/.beans/nuzlocke-tracker-k1l1--run-ownership-assignment-and-visibility-toggle.md

25 lines
966 B
Markdown
Raw Normal View History

2026-03-20 16:31:19 +01:00
---
# nuzlocke-tracker-k1l1
title: Run ownership assignment and visibility toggle
status: todo
type: feature
priority: normal
created_at: 2026-03-20T15:28:27Z
updated_at: 2026-03-20T15:28:36Z
parent: nuzlocke-tracker-d98o
blocked_by:
- nuzlocke-tracker-b311
- nuzlocke-tracker-bnhh
- nuzlocke-tracker-l9xh
---
Wire up run ownership in the UI. New runs created by logged-in users are automatically assigned to them. Add a visibility toggle (public/private) to run settings. Update run list to show owned runs and public runs separately.
## Checklist
- [ ] Auto-assign owner_id when creating a new run (if authenticated)
- [ ] Add visibility toggle to run settings/edit page
- [ ] Update run list view: show 'My Runs' section for authenticated users
- [ ] Show public/private badge on run cards
- [ ] Enforce visibility on frontend (don't show edit controls for non-owned runs)
- [ ] Admin script/endpoint to assign existing unowned runs to a user by ID