You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2014/11/06 16:32:00 UTC

git commit: AMBARI-8182. Abort should not be available read-only users. (akovalenko)

Repository: ambari
Updated Branches:
  refs/heads/branch-1.7.0 52cabf19d -> f124bf5be


AMBARI-8182. Abort should not be available read-only users. (akovalenko)


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

Branch: refs/heads/branch-1.7.0
Commit: f124bf5be3906ad21db3bdc0dffcd87995bc607f
Parents: 52cabf1
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Thu Nov 6 16:57:58 2014 +0200
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Thu Nov 6 16:57:58 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/utils/host_progress_popup.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f124bf5b/ambari-web/app/utils/host_progress_popup.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/host_progress_popup.js b/ambari-web/app/utils/host_progress_popup.js
index 1e2c675..66715e6 100644
--- a/ambari-web/app/utils/host_progress_popup.js
+++ b/ambari-web/app/utils/host_progress_popup.js
@@ -358,7 +358,7 @@ App.HostPopup = Em.Object.create({
           servicesInfo.insertAt(index, updatedService);
         }
         if (App.get('supports.abortRequests')) {
-          updatedService.set('isAbortable', this.isAbortableByStatus(service.status));
+          updatedService.set('isAbortable',  App.get('isManager') &&  this.isAbortableByStatus(service.status));
         }
       }, this);
       this.removeOldServices(servicesInfo, currentServices);