Ticket: Enforce Append-Only Conversations
Description,
To improve data integrity and auditability, conversations must be append-only.
This means once a conversation message is created, it cannot be modified.
Any API endpoints or internal logic that allows updating existing conversation messages must be removed or disabled.
Acceptance Criteria / TODOs
Backend Changes
Testing
Ticket: Enforce Append-Only Conversations
Description,
To improve data integrity and auditability, conversations must be append-only.
This means once a conversation message is created, it cannot be modified.
Any API endpoints or internal logic that allows updating existing conversation messages must be removed or disabled.
Acceptance Criteria / TODOs
Backend Changes
Remove Update Endpoint:
PUT /api/conversation/:uuid/messageroute configuration in src/controller/conversation.controller/index.js.Refactor Repository Layer:
Verify Dependencies:
Testing
PUT /api/conversation/:uuid/messageshould return a 404 Not Found.