You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2016/07/16 21:02:38 UTC
[1/2] airavata-php-gateway git commit: fixed adding new owner to
cloned experiment
Repository: airavata-php-gateway
Updated Branches:
refs/heads/grouper-integration c84d6ba75 -> e7a94d9ea
fixed adding new owner to cloned experiment
Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/5a0ab86f
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/5a0ab86f
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/5a0ab86f
Branch: refs/heads/grouper-integration
Commit: 5a0ab86fea15d2349a821bf4798bb87cc12e2985
Parents: e8a0f09
Author: Jeff Kinnison <je...@gmail.com>
Authored: Sat Jul 16 17:01:25 2016 -0400
Committer: Jeff Kinnison <je...@gmail.com>
Committed: Sat Jul 16 17:01:25 2016 -0400
----------------------------------------------------------------------
app/libraries/ExperimentUtilities.php | 6 +++++-
app/libraries/ProjectUtilities.php | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/5a0ab86f/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index bc145ea..e081e3b 100644
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -824,7 +824,11 @@ class ExperimentUtilities
CommonUtilities::print_error_message('AiravataSystemException!<br><br>' . $ase->getMessage());
}
- ExperimentUtilities::share_experiment($expId, json_decode($share));
+ $share = json_decode($share);
+ $share->{Session::get('username')} = new stdClass();
+ $share->{Session::get('username')}->read = true;
+ $share->{Session::get('username')}->write = true;
+ ExperimentUtilities::share_experiment($expId, $share);
return $expId;
}
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/5a0ab86f/app/libraries/ProjectUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ProjectUtilities.php b/app/libraries/ProjectUtilities.php
index 98e0371..c75867f 100644
--- a/app/libraries/ProjectUtilities.php
+++ b/app/libraries/ProjectUtilities.php
@@ -127,7 +127,11 @@ class ProjectUtilities
CommonUtilities::print_error_message('AiravataSystemException!<br><br>' . $ase->getMessage());
}
- ProjectUtilities::share_project($projectId, json_decode($share));
+ $share = json_decode($share);
+ $share->{Session::get('username')} = new stdClass();
+ $share->{Session::get('username')}->read = true;
+ $share->{Session::get('username')}->write = true;
+ ProjectUtilities::share_project($projectId, $share);
return $projectId;
}
[2/2] airavata-php-gateway git commit: merge
Posted by sc...@apache.org.
merge
Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/e7a94d9e
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/e7a94d9e
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/e7a94d9e
Branch: refs/heads/grouper-integration
Commit: e7a94d9eac0d65cb1c65428fbe20008e7e0841b3
Parents: c84d6ba 5a0ab86
Author: scnakandala <su...@gmail.com>
Authored: Sat Jul 16 17:02:18 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Sat Jul 16 17:02:18 2016 -0400
----------------------------------------------------------------------
app/libraries/ExperimentUtilities.php | 6 +++++-
app/libraries/ProjectUtilities.php | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------