Conversation
개인 소유 리소스 8곳 중 5곳은 WHERE 소유권(404), 3곳(세션 종료·세션 피드백·초대 수락/거절)은 조회 후 비교(403)라 존재 오라클이 남는다. 같은 날(07-15) 두 문서가 반대쪽을 올바르다고 적은 것이 원인. A 404 통일 / B 403 통일 / C 개인 소유 404·그룹 403 — 추천 C, 결정은 사용자 대기. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Repository: Shadowfit/init/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
|
- SessionService.endSession: findById+비교(403) → findByIdAndMemberId(404) - SessionFeedbackQueryService: existsByIdAndMemberId(신설) — 세션 행을 안 쓰므로 존재만 본다 - GroupInvitationService: findByIdAndInviteeId(신설) + INVITATION_NOT_FOUND - 테스트: 403 단언 → 404, 신규 SessionOwnershipNotFoundTest(실 DB·HTTP 로 남의 세션 응답 == 없는 세션 응답) - 결정 박제(C 채택·로그 구분 안 함), 17-error-codes §3 판정 문장, api-improvement §2 정정 주석 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
결정 C(개인 소유 404·그룹 403 유지)와 «로그 구분 안 함»(2026-09-23 사용자 confirm)을 반영했습니다. 적용 커밋이 추가됐습니다: 세션 종료·세션 피드백·초대 수락/거절이 404로 바뀌었고, 테스트 🤖 Generated with Claude Code |
요약
남의 리소스 id로 요청했을 때 403과 404 중 무엇을 줄지를 다루는 분기점 문서다. 코드는 바꾸지 않는다. 결정은 사용자 몫이다.
api-improvement-opportunities.md와report-read-path.md가 서로 반대쪽을 «올바른 패턴»이라 적었다.docs/decisions/README.md인덱스에 한 줄을 추가했다.🤖 Generated with Claude Code