Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT]: Allow Super Admin to Edit Product Comments #1280

Open
DevHola opened this issue Feb 28, 2025 · 0 comments
Open

[FEAT]: Allow Super Admin to Edit Product Comments #1280

DevHola opened this issue Feb 28, 2025 · 0 comments
Labels
feature In-progress This issue is being worked on

Comments

@DevHola
Copy link
Contributor

DevHola commented Feb 28, 2025

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

  • 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.
@github-project-automation github-project-automation bot moved this to Backlogs in Boilerplate-TS Feb 28, 2025
@AdeGneus AdeGneus moved this from Backlogs to Mentors Approved in Boilerplate-TS Feb 28, 2025
@AdeGneus AdeGneus added the In-progress This issue is being worked on label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature In-progress This issue is being worked on
Projects
Status: Mentors Approved
Development

No branches or pull requests

2 participants