Repository: airavata-php-gateway Updated Branches: refs/heads/develop b58617f14 -> 24be2a30c
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/develop Commit: 24be2a30c6ac9c601fdfd062bba13477dc041e0d Parents: b58617f Author: Nipurn Doshi <[email protected]> Authored: Tue May 3 16:23:30 2016 -0400 Committer: Nipurn Doshi <[email protected]> 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"))
