Skip to content

Commit

Permalink
📝 SecurityConfig 에 포인트 상점 물품 수정 api 권한 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuuuuuk committed Mar 20, 2024
1 parent bd180de commit 2069e4a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ class SecurityConfig(

.antMatchers(HttpMethod.POST, "/email").permitAll()

.antMatchers(HttpMethod.POST, "/item").authenticated()
.antMatchers(HttpMethod.GET, "/item").authenticated()
.antMatchers(HttpMethod.GET, "/item/{id}").authenticated()
.antMatchers(HttpMethod.POST, "/item").authenticated()
.antMatchers(HttpMethod.PATCH, "/item/{id}").authenticated()

.antMatchers(HttpMethod.GET, "/user").authenticated()
.antMatchers(HttpMethod.GET, "/user/point").authenticated()
Expand Down

0 comments on commit 2069e4a

Please sign in to comment.