diff --git a/pic-sure-auth-services/src/main/java/edu/harvard/hms/dbmi/avillach/auth/service/auth/FENCEAuthenticationService.java b/pic-sure-auth-services/src/main/java/edu/harvard/hms/dbmi/avillach/auth/service/auth/FENCEAuthenticationService.java index c61c34789..5bdadd09b 100644 --- a/pic-sure-auth-services/src/main/java/edu/harvard/hms/dbmi/avillach/auth/service/auth/FENCEAuthenticationService.java +++ b/pic-sure-auth-services/src/main/java/edu/harvard/hms/dbmi/avillach/auth/service/auth/FENCEAuthenticationService.java @@ -88,13 +88,6 @@ public class FENCEAuthenticationService { "\\\\_Consents\\\\" ///old _Consents\Short Study... path no longer used, but still present in examples. }; - //TODO: Remove when RAS is implemented - private static final List openDatasets = Collections.unmodifiableList( - new ArrayList<>() {{ - add("tutorial-biolincc_camp"); - add("tutorial-biolincc_digitalis"); - }}); - @PostConstruct public void initializeFenceService() { picSureApp = applicationRepo.getUniqueResultByColumn("name", "PICSURE"); @@ -213,11 +206,6 @@ public Response getFENCEProfile(String callback_url, Map authReq createAndUpsertRole(access_role_name, current_user); } - //add open access roles - for (String access_role_name : openDatasets) { - createAndUpsertRole(access_role_name, current_user); - } - final String idp = extractIdp(current_user); if (current_user.getRoles() != null && (current_user.getRoles().size() > 0 || openAccessIdpValues.contains(idp))) {