airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata-php-gateway] branch develop updated: resource type parameter dropped from sharing API, removing from method call
Date Fri, 04 Jan 2019 15:36:35 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-php-gateway.git


The following commit(s) were added to refs/heads/develop by this push:
     new b669bd6  resource type parameter dropped from sharing API, removing from method call
b669bd6 is described below

commit b669bd6cf93663bb1bd2458db0a2763ca15037fb
Author: Marcus Christie <machrist@iu.edu>
AuthorDate: Fri Jan 4 10:36:20 2019 -0500

    resource type parameter dropped from sharing API, removing from method call
---
 app/libraries/GrouperUtilities.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/libraries/GrouperUtilities.php b/app/libraries/GrouperUtilities.php
index 3af5cba..625dba4 100644
--- a/app/libraries/GrouperUtilities.php
+++ b/app/libraries/GrouperUtilities.php
@@ -26,7 +26,7 @@ class GrouperUtilities
             $key = $key . "@" . Config::get('pga_config.airavata')['gateway-id'];
             $newUserPermissionsMap[$key] = $value;
         }
-        Airavata::shareResourceWithUsers(Session::get('authz-token'), $resourceId, $dataResourceType,
$newUserPermissionsMap);
+        Airavata::shareResourceWithUsers(Session::get('authz-token'), $resourceId, $newUserPermissionsMap);
     }
 
     /**
@@ -41,7 +41,7 @@ class GrouperUtilities
             $key = $key . "@" . Config::get('pga_config.airavata')['gateway-id'];
             $newUserPermissionsMap[$key] = $value;
         }
-        Airavata::revokeSharingOfResourceFromUsers(Session::get('authz-token'), $resourceId,
$dataResourceType, $newUserPermissionsMap);
+        Airavata::revokeSharingOfResourceFromUsers(Session::get('authz-token'), $resourceId,
$newUserPermissionsMap);
     }
 
     /**


Mime
View raw message