airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata git commit: changing the permissionId in permission types in sharing catalog
Date Mon, 21 Nov 2016 21:14:23 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop 98465df45 -> ea5d3251e


changing the permissionId in permission types in sharing catalog


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

Branch: refs/heads/develop
Commit: ea5d3251ebc4534f5287ded8dd58bde877c12239
Parents: 98465df
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Mon Nov 21 16:14:05 2016 -0500
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Mon Nov 21 16:14:05 2016 -0500

----------------------------------------------------------------------
 .../sharing/registry/server/SharingRegistryServerHandler.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/ea5d3251/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServerHandler.java
----------------------------------------------------------------------
diff --git a/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServerHandler.java
b/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServerHandler.java
index 38bcde1..026cb12 100644
--- a/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServerHandler.java
+++ b/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServerHandler.java
@@ -78,7 +78,7 @@ public class SharingRegistryServerHandler implements SharingRegistryService.Ifac
 
             //create the global permission for the domain
             PermissionType permissionType = new PermissionType();
-            permissionType.setPermissionTypeId(OWNER_PERMISSION_NAME);
+            permissionType.setPermissionTypeId(domain.domainId + ":" + OWNER_PERMISSION_NAME);
             permissionType.setDomainId(domain.domainId);
             permissionType.setName(OWNER_PERMISSION_NAME);
             permissionType.setDescription("GLOBAL permission to " + domain.domainId);


Mime
View raw message