Skip to content

[김현재] Sprint9#276

Open
hyunjae3458 wants to merge 25 commits into
codeit-bootcamp-spring:김현재from
hyunjae3458:sprint9
Open

[김현재] Sprint9#276
hyunjae3458 wants to merge 25 commits into
codeit-bootcamp-spring:김현재from
hyunjae3458:sprint9

Conversation

@hyunjae3458
Copy link
Copy Markdown
Collaborator

요구사항

기본

  • 기본 항목 1
  • 기본 항목 2

심화

  • 심화 항목 1
  • 심화 항목 2

주요 변경사항

스크린샷

image

멘토에게

  • 셀프 코드 리뷰를 통해 질문 이어가겠습니다.

@hyunjae3458 hyunjae3458 changed the title Spring 9 시작 [Spring 9] 김현재 May 14, 2026
@hyunjae3458 hyunjae3458 changed the title [Spring 9] 김현재 [김현재] Sprint9 May 14, 2026
- Role enum타입 추가
- User, UserDto role 필드 추가
- User에 권한 수정 로직 추가
- UserService 권한 수정 서비스 로직 추가
- UserRepository admin 권한 사용자 있는지 확인 로직 추가
- Adminitializer, UserRoleUpdateRequest 클래스 파일 추가
- 스키마 파일 테이블에 role컬럼 추가
- DiscodeitUserDetails getAuthorities 수정
- DiscodeitAccessDeniedHandler 추가
- DiscodeitAuthenticationEntryPoint 추가
- 권한 계층 구조 설정 추가
- /api/auth/role 앤드포인트 핸들러 메서드 파라미터에 @RequestBody 추가
- 시큐리티 필터 체인에 권한 검증에서 제외할 앤드포인트 추가
- 공용채널 수정, 삭제에 관한 권한 검증 추가
- AuthService 클래스 생성하여 유저 권한 수정 시 세션이 만료되도록 함
- userStatus가 없어진 대신 세션으로 상태를 관리하기 위해서 DiscodeitUserDetails의 hashcode와 equals함수 오버라이딩 후 세션 만료되었는지 확인하는 메서드 추가
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant