You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, comments are immutable once posted. However, there is a need for Super Admins to edit comments to correct errors, remove inappropriate content, or update outdated information.
Acceptance Criteria
Super Admins should have permission to edit any comment.
Modify the API to support updating comments.
Ensure proper authorization.
Return updated comment in the response after a successful update.
Purpose
This feature will allow better content moderation and maintain accuracy across discussions.
Requirements
Implement an API endpoint to update an existing comment.
Use SuperAdminGuard to enforce role-based access control.
Handle unexpected errors and return appropriate status codes.
Expected Outcome
Super Admins can edit comments via the API.
Other users remain restricted from editing comments.
The text was updated successfully, but these errors were encountered:
Description
Currently, comments are immutable once posted. However, there is a need for Super Admins to edit comments to correct errors, remove inappropriate content, or update outdated information.
Acceptance Criteria
Purpose
This feature will allow better content moderation and maintain accuracy across discussions.
Requirements
Expected Outcome
The text was updated successfully, but these errors were encountered: