Skip to content

Conversation

@Yujin1219
Copy link
Member

🚀 관련 이슈

📝 작업 내용

  • controller에 @PreAuthorize("hasRole('ADMIN')") 추가
  • http.authorizeHttpRequests()/api/admin/** 요청은 ROLE_ADMIN이 있어야만 접근 허용도록 추가

✔️ 체크 리스트

  • Merge 하려는 PR 및 Commit들을 로컬에서 실행했을 때 에러가 발생하지 않았는가?

@Yujin1219 Yujin1219 self-assigned this Sep 20, 2025
@Yujin1219 Yujin1219 linked an issue Sep 20, 2025 that may be closed by this pull request
1 task
@Yujin1219 Yujin1219 added the enhancement New feature or request label Sep 20, 2025
@Yujin1219 Yujin1219 merged commit 1a0e8d2 into main Sep 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

♻️ Refactor: 관리자 api는 관리자만 가능하도록 수정

2 participants