-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
Description
Issue
Students may sometimes delete/update comments/forum posts content. We sometimes need to know what the student originally wrote, and want to keep a history of the comments/posts.
Solution/Fix
- When a user makes an update, we execute a copy-on-write to preserve the old content.
- When a user deletes, we do soft delete instead of hard delete.
Considerations
Ensure that copy-on-write does not affect codaveri automated feedback generation/confirmation adversely. Existing behaviour should remain the same.
When copy-on-write is implemented for forum posts, to ensure that Forum-answer questions still works as expected when forum posts are copied-on-write.
Behaviour also needs to be probably specified and tested if the entire forum thread is deleted.