Open
Labels
communityCommunity and question discussion workflows and moderation.enhancementNew feature or requesthelp wantedExtra attention is neededneeds testingNeeds focused regression or contract verification.priority mediumNormal development backlog priority.
Description
Motivation
Question handlers offer ask/answer/vote/accept but no independent hide/restore or answer-lock controls. Moderation must preserve accepted-answer consistency.
Code references
Audit baseline: 50eb207.
- internal/web/handler/questions.go
- internal/question/service.go
- internal/question/repository.go
- frontend/src/pages/QuestionsPage.vue
Completion criteria
- Define administrator-authorized hide/restore and answer-lock behavior without conflating it with author acceptance rights.
- Specify what happens when an accepted answer is hidden and make restoration consistent.
- Exclude hidden records from public lists/detail/profile/search/SEO while preserving moderator access.
- Add confirmation, audit history and tests for unauthorized calls, accepted-answer transitions and restoration.
Scope and dependencies
Difficulty: high.
Question-specific rules; #36 owns community threads. No destructive deletion or reputation redesign.
Backlog index: #12. Keep the change limited to this issue and include focused verification in the pull request.
Metadata
Metadata
Assignees
Labels
communityCommunity and question discussion workflows and moderation.enhancementNew feature or requesthelp wantedExtra attention is neededneeds testingNeeds focused regression or contract verification.priority mediumNormal development backlog priority.
Activity