diff --git a/src/main/java/com/example/runway/config/SecurityConfig.java b/src/main/java/com/example/runway/config/SecurityConfig.java index fc8f5c7..f821ec0 100644 --- a/src/main/java/com/example/runway/config/SecurityConfig.java +++ b/src/main/java/com/example/runway/config/SecurityConfig.java @@ -69,14 +69,14 @@ protected void configure(HttpSecurity httpSecurity) throws Exception { .authorizeRequests() .requestMatchers(CorsUtils::isPreFlightRequest).permitAll() - .antMatchers("/swagger-resources/**").permitAll() + .antMatchers("/swagger-resources/**").permitAll() .antMatchers("/swagger-ui/**").permitAll() .antMatchers("/webjars/**").permitAll() .antMatchers("/v3/api-docs").permitAll() .antMatchers("/test/img").permitAll() .antMatchers("/login/**").permitAll() .antMatchers("/health").permitAll() - .antMatchers("/admin/**").hasAnyRole("ADMIN") + .antMatchers("/admin/users/info").hasAnyRole("ADMIN") .antMatchers("/admin/users/logIn").permitAll() .anyRequest().authenticated()