Skip to content

Commit

Permalink
#156 chore: 구매자 사이드 일대다 상담 댓글 조회하는 api 권한 해제
Browse files Browse the repository at this point in the history
  • Loading branch information
letskuku committed Mar 25, 2024
1 parent 6932721 commit f7323ee
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
"/counselor.html").permitAll()
.requestMatchers(HttpMethod.GET, "/api/v1/posts/{postId}").permitAll()
.requestMatchers(HttpMethod.GET, "/api/v1/posts/customers/public/**").permitAll()
.requestMatchers(HttpMethod.GET, "/api/v1/comments/customers/{postId}").permitAll()
.requestMatchers("/api/v1/admins/**").hasRole(ROLE_ADMIN)
.requestMatchers("/api/v1/letters/counselors/**", "/api/v1/reviews/counselors**").hasRole(ROLE_COUNSELOR)
.requestMatchers("/api/v1/chats/counselors/**").hasRole(ROLE_COUNSELOR)
Expand Down

0 comments on commit f7323ee

Please sign in to comment.