airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [17/20] airavata-php-gateway git commit: Removed link to edit page to read-only users
Date Wed, 17 Aug 2016 15:33:04 GMT
Removed link to edit page to read-only users


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/2fe80e77
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/2fe80e77
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/2fe80e77

Branch: refs/heads/develop
Commit: 2fe80e77fa06232e9a3d60ff90c00ffce72aa439
Parents: a5dbbaa
Author: Jeff Kinnison <jeffdkinnison@gmail.com>
Authored: Wed Aug 17 10:31:42 2016 -0400
Committer: Jeff Kinnison <jeffdkinnison@gmail.com>
Committed: Wed Aug 17 10:31:42 2016 -0400

----------------------------------------------------------------------
 app/controllers/ExperimentController.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2fe80e77/app/controllers/ExperimentController.php
----------------------------------------------------------------------
diff --git a/app/controllers/ExperimentController.php b/app/controllers/ExperimentController.php
index 0828bcb..bb58779 100755
--- a/app/controllers/ExperimentController.php
+++ b/app/controllers/ExperimentController.php
@@ -142,7 +142,8 @@ class ExperimentController extends BaseController
                 "jobDetails" => $jobDetails,
                 "expVal" => $expVal,
                 "autoRefresh"=> $autoRefresh,
-                "users" => json_encode($users)
+                "users" => json_encode($users),
+                "can_write" => SharingUtilities::userCanWrite(Session::get("username"),
$experiment->experimentId, ResourceType::EXPERIMENT)
             );
             if( Input::has("dashboard"))
             {


Mime
View raw message