Skip to content

Commit

Permalink
[Refactor] 횃불이 이미지 관련 권한 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hen715 committed May 1, 2024
1 parent 1995fed commit dfdaaf1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public SecurityFilterChain securityFilterChain(HttpSecurity httpSecurity) throws
.requestMatchers(HttpMethod.POST,"/api/members/**","/api/members").permitAll()
.requestMatchers("/api/members/all").hasRole("ADMIN")
.requestMatchers("/api/members/**","/api/members").hasAnyRole("USER","ADMIN")
.requestMatchers(HttpMethod.GET,"/api/posts/**","/api/posts","/api/fires").permitAll()
.requestMatchers("/api/posts/**","/api/posts","/api/fires/**").hasAnyRole("USER","ADMIN")
.requestMatchers(HttpMethod.GET,"/api/posts/**","/api/posts","/api/fires/**").permitAll()
.requestMatchers("/api/posts/**","/api/posts","/api/fires/**","/api/fires").hasAnyRole("USER","ADMIN")
.requestMatchers("/api/replies/**").hasAnyRole("USER","ADMIN")
.requestMatchers("/api/search","/api/search/**","/api/notices","/api/notices/**","api/schedules","api/schedules/**").permitAll()
.requestMatchers("/api/folders/**","/api/folders").hasAnyRole("USER","ADMIN")
Expand Down

0 comments on commit dfdaaf1

Please sign in to comment.