Repository: ambari
Updated Branches:
  refs/heads/trunk 0d54f17c2 -> e79d388a8


AMBARI-17819. "Manage ambari" button shown to Cluster Administrator 
(alexantonenko)


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

Branch: refs/heads/trunk
Commit: e79d388a864d680d0072bf591d8f4ff83a02f726
Parents: 0d54f17
Author: Alex Antonenko <[email protected]>
Authored: Wed Jul 20 20:47:19 2016 +0300
Committer: Alex Antonenko <[email protected]>
Committed: Wed Jul 20 21:13:37 2016 +0300

----------------------------------------------------------------------
 ambari-web/app/templates/application.hbs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e79d388a/ambari-web/app/templates/application.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/application.hbs 
b/ambari-web/app/templates/application.hbs
index 47be986..6fd9a31 100644
--- a/ambari-web/app/templates/application.hbs
+++ b/ambari-web/app/templates/application.hbs
@@ -65,7 +65,7 @@
                 <li><a href="" id="about" {{action showAboutPopup 
target="controller"}}>{{t app.aboutAmbari}}</a></li>
                 {{#if App.router.clusterInstallCompleted}}
                   {{#if isClusterDataLoaded}}
-                    {{#isAuthorized "AMBARI.ADD_DELETE_CLUSTERS, 
AMBARI.ASSIGN_ROLES, AMBARI.EDIT_STACK_REPOS, AMBARI.MANAGE_GROUPS, 
AMBARI.MANAGE_STACK_VERSIONS, AMBARI.MANAGE_USERS, AMBARI.MANAGE_VIEWS, 
AMBARI.RENAME_CLUSTER, SERVICE.SET_SERVICE_USERS_GROUPS"}}
+                    {{#isAuthorized "AMBARI.ADD_DELETE_CLUSTERS, 
AMBARI.ASSIGN_ROLES, AMBARI.EDIT_STACK_REPOS, AMBARI.MANAGE_GROUPS, 
AMBARI.MANAGE_STACK_VERSIONS, AMBARI.MANAGE_USERS, AMBARI.MANAGE_VIEWS, 
AMBARI.RENAME_CLUSTER, AMBARI.MANAGE_USERS"}}
                       <li><a href=""
                              id="manage-ambari" {{action goToAdminView 
target="controller"}}>{{t app.manageAmbari}}</a>
                       </li>
@@ -73,7 +73,7 @@
                   {{/if}}
                 {{else}}
                   {{#if App.isPermissionDataLoaded}}
-                    {{#isAuthorized "AMBARI.ADD_DELETE_CLUSTERS, 
AMBARI.ASSIGN_ROLES, AMBARI.EDIT_STACK_REPOS, AMBARI.MANAGE_GROUPS, 
AMBARI.MANAGE_STACK_VERSIONS, AMBARI.MANAGE_USERS, AMBARI.MANAGE_VIEWS, 
AMBARI.RENAME_CLUSTER, SERVICE.SET_SERVICE_USERS_GROUPS"}}
+                    {{#isAuthorized "AMBARI.ADD_DELETE_CLUSTERS, 
AMBARI.ASSIGN_ROLES, AMBARI.EDIT_STACK_REPOS, AMBARI.MANAGE_GROUPS, 
AMBARI.MANAGE_STACK_VERSIONS, AMBARI.MANAGE_USERS, AMBARI.MANAGE_VIEWS, 
AMBARI.RENAME_CLUSTER, AMBARI.MANAGE_USERS"}}
                       <li><a href=""
                              id="manage-ambari" {{action goToAdminView 
target="controller"}}>{{t app.manageAmbari}}</a>
                       </li>

Reply via email to