add to security path
@@ -55,6 +55,10 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.hasAnyRole("USER", "ADMIN", "MODERATOR")
.antMatchers("/place/status**")
.hasAnyRole("ADMIN", "MODERATOR")
+ .antMatchers("/favoritePlace/**")
+ .hasAnyRole("USER", "ADMIN", "MODERATOR")
+ .antMatchers("/place/save/favoritePlace")
+ .hasAnyRole("USER", "ADMIN", "MODERATOR")
.antMatchers("/user/role/**")
.hasAnyRole("USER", "ADMIN", "MODERATOR")
.anyRequest()
