Commit ba866df8bdfa8c5d84ab5546118b8d58425ea27c

Authored by Nikita Kulshreshtha
1 parent 8c8ed024

set admin role property in rootscope again

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