Commit 90e73caf7579e9bb773e7a1a99185810adac5851

Authored by Amrita Vishnoi
2 parents 8c8ed024 ba866df8

Merge branch 'Bug#23804_1' into Develop

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -377,7 +377,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic @@ -377,7 +377,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
377 $rootScope.userModules = userInfo.Modules; 377 $rootScope.userModules = userInfo.Modules;
378 378
379 $rootScope.isVisibleLogin = false; 379 $rootScope.isVisibleLogin = false;
380 - 380 + $rootScope.haveRoleAdmin = true;
381 381
382 if ($rootScope.refreshcheck == null) { 382 if ($rootScope.refreshcheck == null) {
383 383
@@ -388,6 +388,8 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic @@ -388,6 +388,8 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
388 388
389 else 389 else
390 { 390 {
  391 + $rootScope.haveRoleAdmin = false;
  392 +
391 if (userInfo.LicenseInfo.IsTermAccepted) { 393 if (userInfo.LicenseInfo.IsTermAccepted) {
392 $rootScope.userData = userInfo; 394 $rootScope.userData = userInfo;
393 $rootScope.userModules = userInfo.Modules; 395 $rootScope.userModules = userInfo.Modules;