📚 Overview
Enable admins to delete feed posts that violate community rules to ensure the platform remains clean and safe.
📝 Background
This feature is important to maintain the integrity of the platform by removing inappropriate content. Only admins should have deletion rights, and each action must be logged for accountability.
⚙️ Specifications
- Access Control: Only admin users can delete posts.
- Logging: Each deletion action must be recorded in the moderation log.
🚀 Tasks
- Implement Delete Method:
- Develop a method within
src/feed/feed.service.ts to delete posts.
- Expose this functionality via the
src/feed/feed.controller.ts.
- Logging Moderation Actions:
- Create or update the logging mechanism in
src/feed/entities/moderation-log.entity.ts to record deletion actions.
🛡️ Acceptance Criteria
- Admin users can successfully delete flagged posts.
- Each deletion action is logged in the moderation history.
🔧 Impacts & Considerations
Let's ensure all moderation actions are visible and traceable for improved security and reliability. 🔒
📚 Overview
Enable admins to delete feed posts that violate community rules to ensure the platform remains clean and safe.
📝 Background
This feature is important to maintain the integrity of the platform by removing inappropriate content. Only admins should have deletion rights, and each action must be logged for accountability.
⚙️ Specifications
🚀 Tasks
src/feed/feed.service.tsto delete posts.src/feed/feed.controller.ts.src/feed/entities/moderation-log.entity.tsto record deletion actions.🛡️ Acceptance Criteria
🔧 Impacts & Considerations
Impacted Files:
src/feed/feed.service.tssrc/feed/feed.controller.tssrc/feed/entities/moderation-log.entity.tsFollow the contribution guidelines:
Close #20Follow the contribution guide for detailed instructions.
Let's ensure all moderation actions are visible and traceable for improved security and reliability. 🔒