docs(16-01): complete multi-user data model foundation plan

- Add 16-01-SUMMARY.md with schema, middleware, and test changes
- Update STATE.md with phase 16 progress and decisions
- Update ROADMAP.md with plan progress (1/4 complete)
- Mark MULTI-01, MULTI-04, MULTI-06 complete in REQUIREMENTS.md
This commit is contained in:
2026-04-05 10:37:57 +02:00
parent 050478c543
commit a0e5442816
12 changed files with 2209 additions and 26 deletions

View File

@@ -25,12 +25,12 @@ Requirements for this milestone. Each maps to roadmap phases.
### Multi-User Data Model
- [ ] **MULTI-01**: Every item, category, thread, and setup is owned by a specific user
- [x] **MULTI-01**: Every item, category, thread, and setup is owned by a specific user
- [ ] **MULTI-02**: User can only see and modify their own data (cross-user isolation)
- [ ] **MULTI-03**: Categories use composite unique constraint (userId + name)
- [ ] **MULTI-04**: Existing data is assigned to the original user during migration
- [x] **MULTI-04**: Existing data is assigned to the original user during migration
- [ ] **MULTI-05**: MCP tools operate within the authenticated user's scope
- [ ] **MULTI-06**: Settings are per-user rather than global
- [x] **MULTI-06**: Settings are per-user rather than global
### Image Storage
@@ -126,12 +126,12 @@ Which phases cover which requirements. Updated during roadmap creation.
| AUTH-03 | Phase 15 | Pending |
| AUTH-04 | Phase 15 | Pending |
| AUTH-05 | Phase 15 | Pending |
| MULTI-01 | Phase 16 | Pending |
| MULTI-01 | Phase 16 | Complete |
| MULTI-02 | Phase 16 | Pending |
| MULTI-03 | Phase 16 | Pending |
| MULTI-04 | Phase 16 | Pending |
| MULTI-04 | Phase 16 | Complete |
| MULTI-05 | Phase 16 | Pending |
| MULTI-06 | Phase 16 | Pending |
| MULTI-06 | Phase 16 | Complete |
| IMG-01 | Phase 17 | Pending |
| IMG-02 | Phase 17 | Pending |
| IMG-03 | Phase 17 | Pending |