fixed secur file
@@ -74,13 +74,10 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.permitAll()
.antMatchers("/place/propose/**")
.hasAnyRole("USER", "ADMIN", "MODERATOR")
- .antMatchers(HttpMethod.GET, "/place/getInfo/{id}/**")
- .permitAll()
- .antMatchers("/place/{status}")
- .hasAnyRole("USER", "ADMIN", "MODERATOR")
- .antMatchers("/place/status**")
.antMatchers(HttpMethod.PATCH, "/place/status**")
.hasAnyRole("ADMIN", "MODERATOR")
+ .antMatchers(HttpMethod.GET, "/place/getInfo/{id}/**")
+ .permitAll()
.antMatchers("/place/{status}/**")
.hasAnyRole("USER", "ADMIN", "MODERATOR")
.antMatchers("/favoritePlace/**")
