Skip to content

Commit

Permalink
feat: 어드민에게 멘토 API 접근 권한 부여 (#692)
Browse files Browse the repository at this point in the history
feat: 어드민에게 멘토 api 접근 권한 부여
  • Loading branch information
Sangwook02 authored Aug 27, 2024
1 parent a221b83 commit 758943f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.requestMatchers("/admin/**")
.hasRole("ADMIN")
.requestMatchers("/mentor/**")
.hasRole("MENTOR")
.hasAnyRole("MENTOR", "ADMIN")
.anyRequest()
.authenticated());

Expand Down

0 comments on commit 758943f

Please sign in to comment.