BAEL-649 changing test content and some security changes to make all the tests work.

This commit is contained in:
tschiman
2017-02-02 21:18:06 -07:00
parent 2ca092923c
commit fb950e2dfa
2 changed files with 9 additions and 9 deletions
@@ -23,7 +23,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.disable()
.authorizeRequests()
.antMatchers("/ratings").hasRole("USER")
.antMatchers("/ratings/all").hasAnyRole("USER", "ADMIN")
.antMatchers("/ratings/all").hasRole("ADMIN")
.anyRequest().authenticated()
.and()
.csrf()