You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2017/07/05 18:28:37 UTC
airavata git commit: Allow admin-read-only to call getGateway
Repository: airavata
Updated Branches:
refs/heads/develop 47f57e7b8 -> 160f70e58
Allow admin-read-only to call getGateway
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/160f70e5
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/160f70e5
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/160f70e5
Branch: refs/heads/develop
Commit: 160f70e585098a079c2e6b8168a86ec01cc8ecea
Parents: 47f57e7
Author: Marcus Christie <ma...@apache.org>
Authored: Wed Jul 5 14:28:18 2017 -0400
Committer: Marcus Christie <ma...@apache.org>
Committed: Wed Jul 5 14:28:18 2017 -0400
----------------------------------------------------------------------
.../apache/airavata/service/security/KeyCloakSecurityManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/160f70e5/airavata-services/services-security/src/main/java/org/apache/airavata/service/security/KeyCloakSecurityManager.java
----------------------------------------------------------------------
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 960dd6f..7605d74 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
@@ -92,7 +92,7 @@ public class KeyCloakSecurityManager implements AiravataSecurityManager {
"|/airavata/getParentDataProduct|/airavata/getChildDataProducts|/airavata/getAllAccessibleUsers" +
"|/airavata/getExperimentByAdmin|/airavata/cloneExperimentByAdmin" +
"|" + USER_RESOURCE_PROFILE_USER_METHODS + "|/airavata/getAllUserResourceProfiles" +
- "|" + SHARING_RESOURCE_METHODS);
+ "|" + SHARING_RESOURCE_METHODS + "|/airavata/getGateway");
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|" +