|
|
@@ -58,7 +58,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|
|
.antMatchers(HttpMethod.GET,"/planner/**").hasAuthority("USER")
|
|
|
.antMatchers(HttpMethod.GET,"/roles/current").hasAuthority("USER")
|
|
|
.antMatchers(HttpMethod.GET,"/username").hasAuthority("USER")
|
|
|
- .antMatchers("/ws").hasAuthority("USER")
|
|
|
+ .antMatchers("/ws/**").hasAuthority("USER")
|
|
|
.antMatchers("/users").hasAuthority("ADMIN")
|
|
|
.antMatchers("/users/**").hasAuthority("ADMIN")
|
|
|
.antMatchers("/admin/**").hasAuthority("ADMIN")
|