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/08/17 15:33:04 UTC
[17/20] airavata-php-gateway git commit: Removed link to edit page to
read-only users
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 <je...@gmail.com>
Authored: Wed Aug 17 10:31:42 2016 -0400
Committer: Jeff Kinnison <je...@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"))
{