airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndo...@apache.org
Subject airavata-php-gateway git commit: Changes for Super Admin Control
Date Fri, 11 Dec 2015 16:02:51 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master c45947e7c -> b0fe9b996


Changes for Super Admin Control


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

Branch: refs/heads/master
Commit: b0fe9b996e807857207a73f91e5295ad1eb79456
Parents: c45947e
Author: Nipurn Doshi <nipunhere@gmail.com>
Authored: Fri Dec 11 11:02:07 2015 -0500
Committer: Nipurn Doshi <nipunhere@gmail.com>
Committed: Fri Dec 11 11:02:07 2015 -0500

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


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/b0fe9b99/app/controllers/AdminController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AdminController.php b/app/controllers/AdminController.php
index da173bd..5b16c6c 100644
--- a/app/controllers/AdminController.php
+++ b/app/controllers/AdminController.php
@@ -10,7 +10,8 @@ class AdminController extends BaseController {
 
 	public function dashboard(){
 		//only for super admin
-		//Session::put("scigap_admin", true);
+		if(  Config::get('pga_config.wsis')['tenant-domain']) == "")
+			Session::put("scigap_admin", true);
 
 		if( Session::has("scigap_admin"))
 		{


Mime
View raw message