Skip to content

Commit

Permalink
Fix: 상담 삭제 기능 권한 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
noeyoes authored May 20, 2024
2 parents 9af3a21 + d248c1c commit a072638
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
// .requestMatchers("/**").permitAll()
.requestMatchers("/api/login").permitAll()
.requestMatchers("/api/admin/changePw", "/api/admin").hasRole("ADMIN")
.requestMatchers("/api/drug", "/api/findDrug", "/api/patient/consultDelete").hasRole("ADMIN")
.requestMatchers("/api/drug", "/api/findDrug").hasRole("ADMIN")
.requestMatchers("/accountSettings", "/drugs", "/patient/consult").hasRole("ADMIN")
.anyRequest().authenticated()
)
Expand Down

0 comments on commit a072638

Please sign in to comment.