-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] Cognito 연동 및 관리자 승인 프로세스 #81
Conversation
- BusinessBaseException를 상속받는 CognitoException 추가
- Cognito 연동을 위한 설정 클래스인 AwsCognitoConfig 추가
- Cognito 관련 비즈니스 로직을 처리하는 CognitoService 추가 - 그룹 이름을 입력받아 해당 그룹에 속한 사용자를 반환하는 getUsersByGroup 메서드 구현
- 관리자를 위한 AdminUserManagementController 추가 - 임시 그룹에 속한 사용자를 조회하는 엔드포인트 구현
- 사용자 저장 및 과목 매핑 수행을 수행하는 AdminUserService.approveUser 구현
- 사용자 그룹을 변경하는 메서드 changeUserGroup 구현 - 사용자 풀에서 특정 사용자를 삭제하는 메서드 deleteUser 구현
- 임시 그룹에 속한 사용자를 승인하는 엔드포인트 구현 - 임시 그룹에 속한 사용자를 반려하는 엔드포인트 구현
- Cognito username이 매핑되는 username 필드 추가 - CognitoService.changeUserGroup 메서드 내부 수정
- 강의 검색 결과를 담는 응답 DTO인 CourseSearchResponseDTO 추가
- 관련 Repository 쿼리 메서드, Service 비즈니스 로직 메서드, Controller 엔드포인트 메서드 구현
…nto feature/78-implement-admin-endpoints
src/main/java/com/example/epari/admin/service/AdminUserService.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cognito 서비스와의 통합하시느라 고생 많으셨습니다. 체계적으로 코드 작성하시고 예외 처리랑 효율적인 쿼리문은 항상 배워갑니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
관리자 그룹이 새로 생겼네요!
회원가입 시, 임시 그룹으로 속해서 관리자가 승인하는 서비스 로직이네요.
주석 관련 오타 커멘트 남겼습니다! 이 부분만 고치시면 될 것 같습니다.
고생하셨습니다.
관련 이슈
변경 사항
AWS Cognito 연동 구현
관리자 기능 구현
DTO 및 예외 처리
체크리스트
공유사항
추후 업무