You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2016/02/16 14:32:42 UTC
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)
Repository: ambari
Updated Branches:
refs/heads/branch-rbac-sso b646a7758 -> fa9580b06
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/fa9580b0
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/fa9580b0
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/fa9580b0
Branch: refs/heads/branch-rbac-sso
Commit: fa9580b062ddfecefbe49414e6cecf45bffb797b
Parents: b646a77
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:38 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/fa9580b0/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 db750e0..3034233 100644
--- a/ambari-web/app/models/host_component.js
+++ b/ambari-web/app/models/host_component.js
@@ -322,6 +322,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'
},