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 a43556e  AIRAVATA-2876 Read Only Admins access to group based auth 
methods
a43556e is described below

commit a43556eec57484167f1bbe1aed62343cfcc6026f
Author: Marcus Christie <[email protected]>
AuthorDate: Fri Sep 7 12:25:39 2018 -0400

    AIRAVATA-2876 Read Only Admins access to group based auth methods
---
 .../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 75a5ed9..cf8880f 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
@@ -147,7 +147,8 @@ public class KeyCloakSecurityManager implements 
AiravataSecurityManager {
                 
"|/airavata/getParentDataProduct|/airavata/getChildDataProducts|/airavata/getAllAccessibleUsers"
 +
                 
"|/airavata/getExperimentByAdmin|/airavata/cloneExperimentByAdmin|/airavata/getAllCredentialSummaryForGateway"
 +
                 "|" + USER_RESOURCE_PROFILE_USER_METHODS + 
"|/airavata/getAllUserResourceProfiles" +
-                "|" + SHARING_RESOURCE_METHODS + "|/airavata/getGateway|" + 
SSH_ACCOUNT_PROVISIONER_METHODS);
+                "|" + SHARING_RESOURCE_METHODS + "|/airavata/getGateway|" + 
SSH_ACCOUNT_PROVISIONER_METHODS + "|" + GROUP_RESOURCE_PROFILE_METHODS +
+                "|" + APPLICATION_DEPLOYMENT_METHODS + "|" + 
GROUP_BASED_AUTH_METHODS + "|" + APPLICATION_MODULE_METHODS);
         rolePermissionConfig.put("gateway-user", 
"/airavata/getAPIVersion|/airavata/getNotification|/airavata/getAllNotifications|"
 +
                 
"/airavata/createProject|/airavata/updateProject|/airavata/getProject|/airavata/deleteProject|/airavata/getUserProjects|"
 +
                 
"/airavata/searchProjectsByProjectName|/airavata/searchProjectsByProjectDesc|/airavata/searchExperimentsByName|"
 +

Reply via email to