From 0e393ff29b3d1c34c0fa4842f7b698692232b440 Mon Sep 17 00:00:00 2001 From: suminiee Date: Tue, 9 Apr 2024 11:12:54 +0900 Subject: [PATCH] =?UTF-8?q?Feat:=20=ED=8E=98=EC=9D=B4=EC=A7=80=20url?= =?UTF-8?q?=EC=97=90=20=EC=A0=91=EA=B7=BC=20=EA=B6=8C=ED=95=9C=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/medicare/neulpeum/config/SecurityConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/medicare/neulpeum/config/SecurityConfig.java b/src/main/java/com/medicare/neulpeum/config/SecurityConfig.java index 21c162c..6627cf3 100644 --- a/src/main/java/com/medicare/neulpeum/config/SecurityConfig.java +++ b/src/main/java/com/medicare/neulpeum/config/SecurityConfig.java @@ -36,6 +36,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { .requestMatchers("/api/login").permitAll() .requestMatchers("/api/admin/changePw", "/api/admin").hasRole("ADMIN") .requestMatchers("/api/drug", "/api/findDrug").hasRole("ADMIN") + .requestMatchers("/accountSettings", "/drugs").hasRole("ADMIN") .anyRequest().authenticated() )