Skip to content

Commit

Permalink
Add more security restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus-87 committed Jun 4, 2021
1 parent 4932111 commit 092b5c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected void configure(HttpSecurity http) throws Exception {

http.authorizeRequests()
.antMatchers("/users/updatePassword")
.permitAll()
.hasAnyAuthority(Role.ADMIN.getAuthority(), Role.CONTENT_MANAGER.getAuthority())
.antMatchers("/users/**")
.hasAnyAuthority(Role.ADMIN.getAuthority())
.anyRequest()
Expand Down

0 comments on commit 092b5c7

Please sign in to comment.