Skip to content

Commit

Permalink
📝 SecurityConfig 에 리팩터링한 문의 사항 내역 리스트 api 권한 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuuuuuk committed Jan 3, 2024
1 parent cb2e2ce commit 9f0e8cb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class SecurityConfig(

.antMatchers(HttpMethod.POST, "/inquiry").authenticated()
.antMatchers(HttpMethod.GET, "/inquiry").authenticated()
.antMatchers(HttpMethod.GET, "/inquiry/list").authenticated()
.antMatchers(HttpMethod.GET, "/inquiry/all").hasAuthority("ROLE_ADMIN")
.antMatchers(HttpMethod.GET, "/inquiry/filter/{state}").authenticated()
.antMatchers(HttpMethod.GET, "/inquiry/{id}").authenticated()
Expand Down

0 comments on commit 9f0e8cb

Please sign in to comment.