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()