AMBARI-17057. RBAC: when on List view, Roles is not selected (alexantonenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2a82a811
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2a82a811
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2a82a811

Branch: refs/heads/branch-2.4
Commit: 2a82a8117acf2406834e42e7575c88182aba3429
Parents: 7869e4d
Author: Alex Antonenko <[email protected]>
Authored: Mon Jun 6 16:34:01 2016 +0300
Committer: Alex Antonenko <[email protected]>
Committed: Mon Jun 6 21:33:21 2016 +0300

----------------------------------------------------------------------
 .../src/main/resources/ui/admin-web/app/views/leftNavbar.html      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/2a82a811/ambari-admin/src/main/resources/ui/admin-web/app/views/leftNavbar.html
----------------------------------------------------------------------
diff --git 
a/ambari-admin/src/main/resources/ui/admin-web/app/views/leftNavbar.html 
b/ambari-admin/src/main/resources/ui/admin-web/app/views/leftNavbar.html
index f99e0cc..2649eb0 100644
--- a/ambari-admin/src/main/resources/ui/admin-web/app/views/leftNavbar.html
+++ b/ambari-admin/src/main/resources/ui/admin-web/app/views/leftNavbar.html
@@ -64,7 +64,7 @@
         </div>
 
         <ul class="nav nav-pills nav-stacked" 
ng-show="cluster.Clusters.provisioning_state == 'INSTALLED' ">
-          <li ng-class="{active: isActive('clusters.manageAccess')}">
+          <li ng-class="{active: isActive('clusters.manageAccess') || 
isActive('clusters.userAccessList')}">
             <a 
href="#/clusters/{{cluster.Clusters.cluster_name}}/manageAccess" 
class="permissions">{{'common.roles' | translate}}</a>
           </li>
           <li><a href="#/dashboard"  
class="gotodashboard">{{'common.goToDashboard' | translate}}</a></li>

Reply via email to