airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata] branch develop updated: AIRAVATA-2842 Allow calls to getAccessibleAppModules
Date Wed, 01 Aug 2018 16:02:28 GMT
This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new bcf97ce  AIRAVATA-2842 Allow calls to getAccessibleAppModules
bcf97ce is described below

commit bcf97ce32d6d1066b9bc884dfa1275b76e110541
Author: Marcus Christie <machristie@apache.org>
AuthorDate: Wed Aug 1 12:01:09 2018 -0400

    AIRAVATA-2842 Allow calls to getAccessibleAppModules
---
 .../org/apache/airavata/service/security/KeyCloakSecurityManager.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/airavata-services/services-security/src/main/java/org/apache/airavata/service/security/KeyCloakSecurityManager.java
b/airavata-services/services-security/src/main/java/org/apache/airavata/service/security/KeyCloakSecurityManager.java
index 348ad02..75a5ed9 100644
--- a/airavata-services/services-security/src/main/java/org/apache/airavata/service/security/KeyCloakSecurityManager.java
+++ b/airavata-services/services-security/src/main/java/org/apache/airavata/service/security/KeyCloakSecurityManager.java
@@ -91,6 +91,7 @@ public class KeyCloakSecurityManager implements AiravataSecurityManager
{
     private final static String APPLICATION_DEPLOYMENT_METHODS =
             "/airavata/registerApplicationDeployment|/airavata/getApplicationDeployment|/airavata/updateApplicationDeployment"
+
                     "|/airavata/deleteApplicationDeployment|/airavata/getAllApplicationDeployments|/airavata/getAccessibleApplicationDeployments";
+    private final static String APPLICATION_MODULE_METHODS = "/airavata/getAccessibleAppModules";
     // Misc. other methods needed for group based authorization
     private final static String GROUP_BASED_AUTH_METHODS = "/airavata/getGatewayGroups";
 
@@ -163,7 +164,7 @@ public class KeyCloakSecurityManager implements AiravataSecurityManager
{
                 "/airavata/getDataProduct|/airavata/registerReplicaLocation|/airavata/getParentDataProduct|/airavata/getChildDataProducts|"
+
                 "/airavata/getAllAccessibleUsers|/airavata/getAllApplicationDeployments|/airavata/getAllAppModules|/airavata/getApplicationModule|"
+ USER_RESOURCE_PROFILE_USER_METHODS + "|" +
                 SHARING_RESOURCE_METHODS + "|" + SSH_ACCOUNT_PROVISIONER_METHODS + "|" +
GROUP_RESOURCE_PROFILE_METHODS +
-                "|" + APPLICATION_DEPLOYMENT_METHODS + "|" + GROUP_BASED_AUTH_METHODS);
+                "|" + APPLICATION_DEPLOYMENT_METHODS + "|" + GROUP_BASED_AUTH_METHODS + "|"
+ APPLICATION_MODULE_METHODS);
 
         initializeSecurityInfra();
     }


Mime
View raw message