airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [23/50] airavata-php-gateway git commit: AIRAVATA-2369 Allow gateway-provider to access user profile
Date Wed, 09 Aug 2017 14:50:22 GMT
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/dreg-gateway
Commit: 94942790b387dd0570a0c828306467e188641403
Parents: 1a7d840
Author: Marcus Christie <machrist@iu.edu>
Authored: Fri Jul 7 09:10:27 2017 -0400
Committer: Marcus Christie <machrist@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>';


Mime
View raw message