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/d5afa1b4
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d5afa1b4
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d5afa1b4

Branch: refs/heads/trunk
Commit: d5afa1b45b612fed601dfe41152194f6000bcfaa
Parents: 11543ed
Author: Alex Antonenko <[email protected]>
Authored: Mon Jun 6 16:34:01 2016 +0300
Committer: Alex Antonenko <[email protected]>
Committed: Mon Jun 6 21:26:29 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/d5afa1b4/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