File tree 1 file changed +7
-0
lines changed
src/main/java/org/mskcc/cbio/oncokb/config
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,13 @@ public void configure(HttpSecurity http) throws Exception {
107
107
.antMatchers ("/api/v1/utils/cancerGeneList" ).permitAll ()
108
108
.antMatchers ("/api/v1/utils/cancerGeneList.txt" ).permitAll ()
109
109
.antMatchers ("/api/v1/utils/cancerGeneList.json" ).permitAll ()
110
+
111
+ .antMatchers ("/api/v1/annotation/search" ).hasAnyAuthority (AuthoritiesConstants .PREMIUM_USER , AuthoritiesConstants .ADMIN )
112
+ .antMatchers ("/api/v1/utils/allActionableVariants" ).hasAnyAuthority (AuthoritiesConstants .PREMIUM_USER , AuthoritiesConstants .ADMIN )
113
+ .antMatchers ("/api/v1/utils/allActionableVariants.txt" ).hasAnyAuthority (AuthoritiesConstants .PREMIUM_USER , AuthoritiesConstants .ADMIN )
114
+ .antMatchers ("/api/v1/utils/allAnnotatedVariants" ).hasAnyAuthority (AuthoritiesConstants .PREMIUM_USER , AuthoritiesConstants .ADMIN )
115
+ .antMatchers ("/api/v1/utils/allAnnotatedVariants.txt" ).hasAnyAuthority (AuthoritiesConstants .PREMIUM_USER , AuthoritiesConstants .ADMIN )
116
+
110
117
.antMatchers ("/api/v1/**" ).hasAnyAuthority (AuthoritiesConstants .ADMIN )
111
118
112
119
.antMatchers ("/api/account/reset-password/init" ).permitAll ()
You can’t perform that action at this time.
0 commit comments