You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2017/08/03 17:03:15 UTC
[24/50] airavata-php-gateway git commit: AIRAVATA-2369 Allow
gateway-provider to access user profile
AIRAVATA-2369 Allow gateway-provider to access user profile
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/94942790
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/94942790
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/94942790
Branch: refs/heads/master
Commit: 94942790b387dd0570a0c828306467e188641403
Parents: 1a7d840
Author: Marcus Christie <ma...@iu.edu>
Authored: Fri Jul 7 09:10:27 2017 -0400
Committer: Marcus Christie <ma...@iu.edu>
Committed: Fri Jul 7 09:10:27 2017 -0400
----------------------------------------------------------------------
app/libraries/CommonUtilities.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/94942790/app/libraries/CommonUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/CommonUtilities.php b/app/libraries/CommonUtilities.php
index d8eae6c..d6c7eae 100644
--- a/app/libraries/CommonUtilities.php
+++ b/app/libraries/CommonUtilities.php
@@ -238,7 +238,7 @@ class CommonUtilities
}
}
- if( Session::has('authorized-user') || Session::has('admin') || Session::has('admin-read-only')){
+ if( Session::has('authorized-user') || Session::has('admin') || Session::has('admin-read-only') || Session::has('gateway-provider') ){
$navbar .= '<li><a href="' . URL::to('/') . '/account/settings"><span class="glyphicon glyphicon-cog"></span> User settings</a></li>';
}
$navbar .= '<li><a href="' . URL::to('/') . '/logout"><span class="glyphicon glyphicon-log-out"></span> Log out</a></li>';