airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata] 04/07: AIRAVATA-2840 Removed automatic sharing of credentials with admins
Date Mon, 24 Sep 2018 16:55:41 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

commit a145535b7c9e1b00006025c3cad0ffcf24f47503
Author: Marcus Christie <machristie@apache.org>
AuthorDate: Mon Sep 24 12:21:01 2018 -0400

    AIRAVATA-2840 Removed automatic sharing of credentials with admins
---
 .../sharing/registry/migrator/airavata/AiravataDataMigrator.java      | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/sharing-registry/sharing-data-migrator/src/main/java/org/apache/airavata/sharing/registry/migrator/airavata/AiravataDataMigrator.java
b/modules/sharing-registry/sharing-data-migrator/src/main/java/org/apache/airavata/sharing/registry/migrator/airavata/AiravataDataMigrator.java
index ee8f339..59d8d7a 100644
--- a/modules/sharing-registry/sharing-data-migrator/src/main/java/org/apache/airavata/sharing/registry/migrator/airavata/AiravataDataMigrator.java
+++ b/modules/sharing-registry/sharing-data-migrator/src/main/java/org/apache/airavata/sharing/registry/migrator/airavata/AiravataDataMigrator.java
@@ -378,9 +378,7 @@ public class AiravataDataMigrator {
                     entity.setDescription(credentialSummary.getDescription());
                     if (!sharingRegistryServerHandler.isEntityExists(entity.domainId, entity.entityId))
                         sharingRegistryServerHandler.createEntity(entity);
-                    if (gatewayGroupsMap.containsKey(entity.domainId)) {
-                        shareEntityWithAdminGatewayGroups(sharingRegistryServerHandler, entity,
gatewayGroupsMap.get(entity.domainId), false);
-                    }
+                    // Don't need to share USER SSH tokens with any group
                 }
             }
         }


Mime
View raw message