diff --git a/src/main/java/kahlua/KahluaProject/config/SecurityConfig.java b/src/main/java/kahlua/KahluaProject/config/SecurityConfig.java index d871b07..448262b 100644 --- a/src/main/java/kahlua/KahluaProject/config/SecurityConfig.java +++ b/src/main/java/kahlua/KahluaProject/config/SecurityConfig.java @@ -51,8 +51,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { ); http.authorizeHttpRequests((authorize) -> authorize .requestMatchers( "/api-docs/**", "/swagger-ui/**", "/swagger-ui.html/**", "/v3/api-docs/**", "/swagger-ui/index.html#/**").permitAll() - .requestMatchers(HttpMethod.GET, "/v1/admin/tickets/**").permitAll() - .requestMatchers(HttpMethod.GET, "/v1/admin/apply/**").permitAll() + .requestMatchers(HttpMethod.GET, "/v1/admin/tickets/info/**").permitAll() + .requestMatchers(HttpMethod.GET, "/v1/admin/apply/info/**").permitAll() .requestMatchers("/v1/auth/sign-out/**", "v1/auth/recreate/**","/v1/user/**", "/v1/admin/**").authenticated() .anyRequest().permitAll()) .addFilterBefore(jwtFilter, UsernamePasswordAuthenticationFilter.class)