From 9f0e8cb63506608161c48a8361d997e547a24094 Mon Sep 17 00:00:00 2001 From: uuuuuuuk Date: Wed, 3 Jan 2024 11:05:13 +0900 Subject: [PATCH] =?UTF-8?q?:memo:=20SecurityConfig=20=EC=97=90=20=EB=A6=AC?= =?UTF-8?q?=ED=8C=A9=ED=84=B0=EB=A7=81=ED=95=9C=20=EB=AC=B8=EC=9D=98=20?= =?UTF-8?q?=EC=82=AC=ED=95=AD=20=EB=82=B4=EC=97=AD=20=EB=A6=AC=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=20api=20=EA=B6=8C=ED=95=9C=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/andreas311/miso/global/security/SecurityConfig.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/andreas311/miso/global/security/SecurityConfig.kt b/src/main/kotlin/andreas311/miso/global/security/SecurityConfig.kt index 66bf1552..60855843 100644 --- a/src/main/kotlin/andreas311/miso/global/security/SecurityConfig.kt +++ b/src/main/kotlin/andreas311/miso/global/security/SecurityConfig.kt @@ -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()