airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [14/50] [abbrv] airavata-php-gateway git commit: Not allowing pending user to even see notifications
Date Thu, 07 Jul 2016 19:27:18 GMT
Not allowing pending user to even see notifications


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

Branch: refs/heads/master
Commit: 24be2a30c6ac9c601fdfd062bba13477dc041e0d
Parents: b58617f
Author: Nipurn Doshi <nipunhere@gmail.com>
Authored: Tue May 3 16:23:30 2016 -0400
Committer: Nipurn Doshi <nipunhere@gmail.com>
Committed: Tue May 3 16:23:30 2016 -0400

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


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/24be2a30/app/libraries/CommonUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/CommonUtilities.php b/app/libraries/CommonUtilities.php
index 98894e1..4f4b2c7 100644
--- a/app/libraries/CommonUtilities.php
+++ b/app/libraries/CommonUtilities.php
@@ -194,7 +194,8 @@ class CommonUtilities
 
         // right-aligned content
 
-        if (Session::has('loggedin')) {
+        if (Session::has('loggedin') && (Session::has('authorized-user') || Session::has('admin')
+                || Session::has('admin-read-only'))){
             $active = "";
             if (Session::has("nav-active")) {
                 if ("user-console" == Session::get("nav-active"))


Mime
View raw message