ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akovale...@apache.org
Subject git commit: AMBARI-8182. Abort should not be available read-only users. (akovalenko)
Date Thu, 06 Nov 2014 15:32:00 GMT
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 <akovalenko@hortonworks.com>
Authored: Thu Nov 6 16:57:58 2014 +0200
Committer: Aleksandr Kovalenko <akovalenko@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);


Mime
View raw message