Skip to content

Commit

Permalink
Add allVariantsOfUnknownSignificance endpoint to SecurityConfiguration (
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinlu3 authored May 8, 2024
1 parent ebb5e2c commit 9359de8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ public void configure(HttpSecurity http) throws Exception {
.antMatchers("/api/v1/utils/allActionableVariants.txt").hasAnyAuthority(AuthoritiesConstants.PREMIUM_USER, AuthoritiesConstants.ADMIN)
.antMatchers("/api/v1/utils/allAnnotatedVariants").hasAnyAuthority(AuthoritiesConstants.PREMIUM_USER, AuthoritiesConstants.ADMIN)
.antMatchers("/api/v1/utils/allAnnotatedVariants.txt").hasAnyAuthority(AuthoritiesConstants.PREMIUM_USER, AuthoritiesConstants.ADMIN)
.antMatchers("/api/v1/utils/allVariantsOfUnknownSignificance").hasAnyAuthority(AuthoritiesConstants.PREMIUM_USER, AuthoritiesConstants.ADMIN)
.antMatchers("/api/v1/utils/allVariantsOfUnknownSignificance.txt").hasAnyAuthority(AuthoritiesConstants.PREMIUM_USER, AuthoritiesConstants.ADMIN)

.antMatchers("/api/v1/**").hasAnyAuthority(AuthoritiesConstants.ADMIN)

Expand Down

0 comments on commit 9359de8

Please sign in to comment.