Repository navigation
feat(admin): 이의제기 내역 목록·상세 API + 접수 당시 실패 설명 저장(V21) - #369
Merged
Merged
Conversation
이의는 확정 전에 받고 즉시 인용돼 판정 행의 failureReason 이 지워진다. verification_failure_details 는 확정된 실패에만 생겨 인용된 이의에는 행이 없다. 운영자가 「무엇에 이의를 냈는지」 볼 원천이 없어, 신청 화면과 같은 설명(사유 코드·요약·기준값·실제값)을 V21 컬럼에 적어 둔다. 오늘 인증 카드와 같은 계산을 쓰도록 FailureExplainer 로 뺐다. 관리자 목록용 acceptedAt 인덱스도 함께 둔다. Refs #361 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GET /api/v1/admin/appeals — 최신순, 접수일(KST)·회원·방·사진 여부 필터, (시각, id) 커서.
GET /api/v1/admin/appeals/{id} — 사유 전문, 증빙 사진(단기 주소), 접수 당시 실패 설명, 최근 30일 이의 수.
목록은 APPEAL_QUEUE_VIEW, 상세는 개인정보 열람이라 APPEAL_VIEW 로 감사 로그에 남긴다.
관리자 DB 계정이 이미 가진 SELECT(verification_appeals·users·challenges)만 쓴다. Closes #361
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Test Coverage
|
selee1012
added a commit
that referenced
this pull request
Oct 29, 2026
release: 관리자 이의제기 내역 API + 이의 접수 당시 실패 설명 저장(#369)
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.
무엇
관리자 콘솔에서 이의제기 내역을 볼 수 있게 한다. Closes #361 · 콘솔 짝: RuleUp-ASM/AdminPage#10
커밋 1 — 이의 접수 당시 실패 설명을 이의 행에 남긴다 (V21)
이슈는 「이의 전 실패 상세」를
verification_failure_details에서 읽자고 했지만, 이의된 판정에는 그 행이 생기지 않는다.failureReason이 지워진다(correctByAppeal).verification_failure_details는 확정된 FAILED 에만 생긴다. 이의 기한 = 확정 시각이라 확정된 실패는 이미 이의 창이 닫혀 있다.그래서 「무엇에 이의를 냈는지」가 어디에도 남지 않았다. 신청 화면과 같은 설명(사유 코드·요약·기준값·실제값)을 접수 때
verification_appeals새 컬럼에 적는다.VerificationReadService.failureOf를FailureExplainer로 뺐다.(acceptedAt, id)인덱스도 함께.ALGORITHM=INPLACE, LOCK=NONE.커밋 2 — 관리자 API
GET /api/v1/admin/appeals— 최신순,from·to(접수일 KST)·userId·challengeId·hasImage필터,(시각, id)커서,totalCountGET /api/v1/admin/appeals/{id}— 사유 전문, 증빙 사진(단기 presigned + 만료 시각), 접수 당시 실패 설명, 같은 회원 최근 30일 이의 수APPEAL_QUEUE_VIEW, 상세APPEAL_VIEW(targetAPPEAL)APPEAL_NOT_FOUND(404)verification_appeals·users·challengesSELECT,admin_audit_logsINSERT 만 쓴다(AdminSqlCapture 확인).테스트
AdminAppealIT5건: 403, 정렬·필터·커서(같은 시각 두 건 포함), 상세·감사 로그, 옛 접수, 잘못된 입력 400/404VerificationAppealIT에 접수 당시 실패 설명이 남는지 1건 추가admin.*·docs.*·VerificationAppealIT·VerificationDecisionTimingIT통과🤖 Generated with Claude Code