Skip to content

Commit

Permalink
updated security config (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
SundarakrishnanN authored Jun 9, 2024
1 parent cc7a7f5 commit d4d53d2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ private static void getCustomizedHttpAuthorization(AuthorizeHttpRequestsConfigur
.requestMatchers(HttpMethod.POST,"/user").hasRole("Admin")
.requestMatchers(HttpMethod.PUT,"/user").hasRole("Admin")
.requestMatchers(HttpMethod.DELETE,"/user").hasRole("Admin")
.requestMatchers(HttpMethod.POST,"/requestForm").hasAnyRole("Society Execom","Main Execom")
.requestMatchers("/role").hasRole("Admin")
.requestMatchers("/society").hasRole("Admin")
.requestMatchers("/").permitAll()
Expand Down

0 comments on commit d4d53d2

Please sign in to comment.