Pārlūkot izejas kodu

AMBARI-5235. Add component of clients in Ambari doesn't work in a secured cluster. (jaimin)

Jaimin Jetly 11 gadi atpakaļ
vecāks
revīzija
65106ab5ae
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      ambari-web/app/controllers/main/host/details.js

+ 1 - 1
ambari-web/app/controllers/main/host/details.js

@@ -394,7 +394,7 @@ App.MainHostDetailsController = Em.Controller.extend({
       }, Em.I18n.t('hosts.host.addComponent.addZooKeeper'));
     }
     else {
-      if (securityEnabled) {
+      if (securityEnabled && component.get('componentName') !== 'CLIENTS') {
         App.showConfirmationPopup(function() {
           self.primary(component);
         }, Em.I18n.t('hosts.host.addComponent.securityNote').format(componentName,self.get('content.hostName')));