airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata git commit: fixing wrong Entity Type
Date Mon, 10 Oct 2016 20:21:31 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop 2c463cae9 -> a4ba60c92


fixing wrong Entity Type


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/a4ba60c9
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/a4ba60c9
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/a4ba60c9

Branch: refs/heads/develop
Commit: a4ba60c92248f441a8f7737a856bf3150e54f077
Parents: 2c463ca
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Mon Oct 10 16:21:27 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Mon Oct 10 16:21:27 2016 -0400

----------------------------------------------------------------------
 .../apache/airavata/api/server/handler/AiravataServerHandler.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/a4ba60c9/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
index 99ec2af..1a64ef8 100644
--- a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
+++ b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
@@ -704,7 +704,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             if (ServerSettings.isEnableSharing()){
                 // user projects + user accessible projects
                 List<String> accessibleProjectIds = new ArrayList<>();
-                sharingRegistryServerHandler.searchEntities(userName+"@"+gatewayId , gatewayId+":READ",
+                sharingRegistryServerHandler.searchEntities(userName+"@"+gatewayId , gatewayId+":PROJECT",
                         new HashMap<>(), offset, limit).stream().forEach(p->accessibleProjectIds.add(p.entityId));
                 return getRegistryServiceClient().searchProjects(gatewayId, userName, accessibleProjectIds,
new HashMap<>(), limit, offset);
             }else{


Mime
View raw message