# Project Roadmap TODO ## 1. Organizations & Roles (Next Up) - [ ] Create `0004_create_org_memberships_table.sql` with `org_role` ENUM (owner, admin, member, viewer). - [ ] Implement `src/db/repository/organization_repository.rs` with `create_org_with_owner` (using `&mut sqlx::Transaction`). - [ ] Add slug generation utility (name -> `slug-a7x9`). - [ ] Build `POST /api/v1/orgs` and `GET /api/v1/orgs` endpoints using the new `CurrentUser` and `ValidJson` extractors. ## 2. Projects Layer - [ ] Create projects table (belongs to `org_id`). - [ ] Create `project_memberships` table for specific project access (inherits downward from Org roles). - [ ] CRUD endpoints for projects nested under `/api/v1/orgs/{org_slug}/projects`. ## 3. Core Issue Tracking - [ ] Create issues table (belongs to `project_id`). - [ ] Allow Projects to define their own custom workflow stages (e.g., Todo, In Progress, QA, Done). ## 4. Power-User Features - [ ] Build "Agglomeration Views": Allow creating Org-level Kanban boards that span multiple projects and map project-specific stages to unified columns.