Skip to content

Feat/4 consultation multisource intake - #67

Merged
jacksonsr451 merged 4 commits into
mainfrom
feat/4-consultation-multisource-intake
Oct 16, 2026
Merged

jacksonsr451 merged 4 commits into
mainfrom
feat/4-consultation-multisource-intake

Conversation

@jacksonsr451

Copy link
Copy Markdown
Owner

No description provided.

Introduce the DRAFT consultation status and dedicated draft endpoints so offline-capable clients can persist intake before submission, while preserving direct OPEN submission.

- Add draft to the consultation status enum, JSON Schema, and OpenAPI; recreate ck_consultations_status_values in migration 0005.
- Add POST .../consultations/drafts, PATCH .../consultations/{id}, and POST .../consultations/{id}/submit with idempotency, If-Match, and ETag.
- Grant consultation:update and consultation:submit; restrict draft mutation to the author or a workspace administrator.
- Cover create/edit/submit, repeated submission, optimistic locking, idempotent replay, RBAC, tenant isolation, and concurrent submission in PostgreSQL integration tests.
@jacksonsr451
jacksonsr451 merged commit 5041109 into main Oct 16, 2026
3 checks passed
@jacksonsr451
jacksonsr451 deleted the feat/4-consultation-multisource-intake branch October 16, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant