Merged
Conversation
- 인증된 사용자가 특정 크루에 대해 탈퇴하는 API 개발 - 크루 내 역할이 LEADER가 아닌 경우에만 가능 - LEADER인 경우 LEADER_CANNOT_EXPEL 예외 발생
Closed
3 tasks
hey-sung
added a commit
that referenced
this pull request
Aug 7, 2025
* [FEAT] 크루 탈퇴 API 개발 (#111) - 인증된 사용자가 특정 크루에 대해 탈퇴하는 API 개발 - 크루 내 역할이 LEADER가 아닌 경우에만 가능 - LEADER인 경우 LEADER_CANNOT_EXPEL 예외 발생 * [FIX] 다른 사람 계정으로 로그인되는 버그 픽스 (#114) * refactor: JWT 초기 발급 API spec 변경 - JWT 초기 발급 API spec 변경 - 소셜로그인 성공 시, UUID 재발급 후 redis에 저장 - 리다이렉트 URL에 userId, token 정보를 담아서 전달 - POST /api/auth의 request body에 userId, token을 담아서 JWT 토큰 요청 - token 정보 유효성 확인 * feat: JWT 재발급 API 개발 - JwtFacade를 JwtManager로 이름 변경 - AuthFacade 인터페이스 작성 및 로직 정리 - JWT 재발급 API 개발 (`POST /api/auth/reissue`) * docs: swagger docs 작성 - AuthApi 인터페이스에 swagger docs 작성 * [FEAT] 로그아웃 API 개발 (#118) * feat: 로그아웃 API 개발 - 로그아웃 API 개발 `POST /api/logout?nickname={nickname}` - redis에서 refresh-token 정보 삭제 및 Cookie에서 refresh token 삭제 * docs: swagger docs 작성 - /api/auth/logout에 대해 swagger docs 작성 * [FEAT] 크루리더 양도하기 API 개발 (#119) * feat: 크루 리더 양도 API 개발 - `PATCH /api/crew/{crewId}/members/leader` 크루 리더 양도 API 개발 - 요청자가 크루리더가 아닌 경우, 대상자가 크루 참여자가 아닌 경우, 대상자의 닉네임을 통해 사용자를 찾을 수 없는 경우 예외 발생 - CrewMember에 역할을 업데이트하는 비지니스 로직 추가 * docs: swagger docs 작성 * feat: 본인에 대해 요청한 경우에는 예외 발생 - 리더가 본인에 대해 리더 양도를 요청한 경우에는 LEADER_ALREADY_ASSIGNED 예외 발생 --------- Co-authored-by: HEY <50323157+SSung023@users.noreply.github.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.
PR 타입
☑ 기능 추가
□ 기능 삭제
□ 리팩터링
□ 버그 리포트
□ 버그 수정
□ 의존성, 환경 변수, 빌드 관련 코드 업데이트
반영 브랜치
feat/110-quit-crew->main🛠️ 변경 사항
✅ 작업 상세 내용
🧪 테스트 결과
📚 연관된 이슈
#110
🤔 리뷰 요구사항(선택)