Browse Source

[security] ACLs are refreshed after a refresh tree for the currently selected node

Enrico Berti 11 năm trước cách đây
mục cha
commit
c0f994b
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      apps/security/static/js/hdfs.ko.js

+ 2 - 1
apps/security/static/js/hdfs.ko.js

@@ -316,6 +316,7 @@ var Assist = function (vm, assist) {
         }
       }
     });
+    self.getAcls();
   }
 
   self.rebuildTree = function (leaf, paths) {
@@ -441,7 +442,7 @@ var Assist = function (vm, assist) {
       }, 1000);
         logGA('get_acls');
         $.getJSON('/security/api/hdfs/get_acls', {
-        'path': self.path(),
+        'path': self.path()
       }, function (data) {
       window.clearTimeout(_isLoading);
       if (data != null) {