Organizations feature #28

Closed
opened 2026-06-12 20:29:18 +00:00 by james · 0 comments
Owner

Network → Organizations.

Scope

Each Organization has: Name, Description, Links (multi), Date joined, Key people (refs into the People list). Carries a user_id FK.

  • Entities + migrations (organization + link entries + key-people refs). All scoped per-user; key-people refs must point at People owned by the same user as the Organization.
  • Full CRUD API + DTOs. All queries scoped to the authenticated user; cross-user access returns 404.
  • UI under Network → Organizations.
  • Tests on both DB engines, including cross-user isolation.

Acceptance criteria

  • Organizations can reference People; the FK survives a Person being renamed.
  • Deleting a Person removes their key-people reference on any Organization owned by the same user (handled in app code if engines diverge on cascade).
  • Round-trips on both DB engines.
  • User A cannot see, reference, or modify any of User B's Organizations.

Part of epic #5. Depends on #8, #10, #20, #27.

Network → Organizations. ## Scope Each Organization has: Name, Description, Links (multi), Date joined, Key people (refs into the People list). **Carries a `user_id` FK.** - Entities + migrations (organization + link entries + key-people refs). **All scoped per-user; key-people refs must point at People owned by the same user as the Organization.** - Full CRUD API + DTOs. **All queries scoped to the authenticated user; cross-user access returns 404.** - UI under Network → Organizations. - Tests on both DB engines, **including cross-user isolation**. ## Acceptance criteria - [ ] Organizations can reference People; the FK survives a Person being renamed. - [ ] Deleting a Person removes their key-people reference on any Organization owned by the same user (handled in app code if engines diverge on cascade). - [ ] Round-trips on both DB engines. - [ ] User A cannot see, reference, or modify any of User B's Organizations. Part of epic #5. Depends on #8, #10, #20, #27.
james closed this issue 2026-06-24 12:16:41 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
james/carol#28
No description provided.