Open
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- required=true인 파라미터 누락 감지 핸들러 - 파라미너 타입 불일치 핸들러 - 지원하지 않는 HTTP 메서드 핸들러 - 지원하지 않는 Content-Type 핸들러 - 존재하지 않는 URL 핸들러
…ackend into feature/userAdmin
- 신고 타입 핕러 -> REPORTER로 조회해도 REPORTED 속성으로 조회되는 버그
- LetterReportAdminService, PlazaLetterService Conflict 해결
- AdminRestrictionControllerDocs, AdminRestrictionController 생성
- POST /admin/users/{userId}/restrictions (7일 제재 적용)
- @AuthenticationPrincipal로 관리자 ID 추출
- RestrictionCreateReqDto / RestrictionCreateResDto 추가
- RestrictionDomainType(LETTER|QUESTION_ANSWER), RestrictionStatus(ACTIVE|CANCELED) enum 추가
- AdminRestrictionService 인터페이스 + stub 구현체 추가 (Entity/Repository 구현 전 임시)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Restriction 도메인 - 관리자 사용자 제재 적용 API 구조 추가 - AdminRestrictionControllerDocs, AdminRestrictionController - RestrictionCreateReqDto / RestrictionCreateResDto - RestrictionDomainType, RestrictionStatus enum - AdminRestrictionService 인터페이스 + stub 구현체
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#️⃣연관된 이슈
📝작업 내용
1. 특정 사용자에게 제재를 적용하는 API 개발.
1. 편지 도메인 제재 시
GET /plaza/letters/inbox/next: 도착한 편지 1건 조회GET /plaza/letters/inbox/{letterId}: 답장 대기 편지 상세 조회POST /plaza/letters: 편지 작성POST /plaza/letters/{letterId}/reply: 편지 답장 작성2. 오늘의 질문 도메인 제재 시
POST /questions/answers: 답변 작성PUT /questions/answers: 답변 수정DELETE /questions/answers/{answerId}: 답변 삭제(향후 편지, 오늘의 질문 도메인이 아니라 "계정 완전 정지" 기능을 추가할 때 UserStatus가 SUSPENDED로 바뀌도록 하는 것으로 생각 중입니다.)
2. 특정 사용자에게 가해진 제재를 조회하는 API 개발
3. 특정 사용자의 제재 취소 API 개발
💬리뷰 요구사항