From 9359de87b6565989f5f1b194a07dc73350a68b53 Mon Sep 17 00:00:00 2001 From: Calvin Lu <59149377+calvinlu3@users.noreply.github.com> Date: Wed, 8 May 2024 16:48:11 -0400 Subject: [PATCH] Add allVariantsOfUnknownSignificance endpoint to SecurityConfiguration (#1114) --- .../org/mskcc/cbio/oncokb/config/SecurityConfiguration.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/mskcc/cbio/oncokb/config/SecurityConfiguration.java b/src/main/java/org/mskcc/cbio/oncokb/config/SecurityConfiguration.java index 2de1c457d..421dd6175 100644 --- a/src/main/java/org/mskcc/cbio/oncokb/config/SecurityConfiguration.java +++ b/src/main/java/org/mskcc/cbio/oncokb/config/SecurityConfiguration.java @@ -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)