You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2016/02/16 19:30:44 UTC

[39/50] [abbrv] ambari git commit: AMBARI-15055. RBAC : "Service Operator" role doesn't have "Move to another host" permission, but still gives component movement options for HDFS, YARN, Oozie and Metrics Collector (alexantonenko)

AMBARI-15055. RBAC : "Service Operator" role doesn't have "Move to another host" permission, but still gives component movement options for HDFS, YARN, Oozie and Metrics Collector (alexantonenko)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 5fcb71602b1c680d143e39f4aca17e1cc5af7889
Parents: f3e6931
Author: Alex Antonenko <hi...@gmail.com>
Authored: Tue Feb 16 12:37:22 2016 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Tue Feb 16 15:32:16 2016 +0200

----------------------------------------------------------------------
 ambari-web/app/models/host_component.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5fcb7160/ambari-web/app/models/host_component.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/host_component.js b/ambari-web/app/models/host_component.js
index a081d62..4782190 100644
--- a/ambari-web/app/models/host_component.js
+++ b/ambari-web/app/models/host_component.js
@@ -337,6 +337,7 @@ App.HostComponentActionMap = {
       MOVE_COMPONENT: {
         action: 'reassignMaster',
         context: '',
+        isHidden: !App.isAuthorized('SERVICE.MOVE'),
         label: Em.I18n.t('services.service.actions.reassign.master'),
         cssClass: 'icon-share-alt'
       },