Преглед изворни кода

Merge pull request #12840 from miguelvazq/DefaultPermissionFixes

HPCC-22614 U/I request fix for default resources

Reviewed-By: Gordon Smith <gordon.smith@lexisnexis.com>
Reviewed-By: Kevin Wang <kevin.wang@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman пре 5 година
родитељ
комит
87efa5130a
1 измењених фајлова са 1 додато и 4 уклоњено
  1. 1 4
      esp/src/src/ws_access.ts

+ 1 - 4
esp/src/src/ws_access.ts

@@ -341,12 +341,9 @@ var IndividualPermissionsStore = declare([Memory], {
     },
 
     refreshAccountPermissions: function () {
-        if (!this.name) {
-            return [];
-        }
         return ResourcePermissions({
             request: {
-                name: this.name,
+                name: this.name ? this.name : "",
                 BasednName: this.basedn
             }
         }).then(lang.hitch(this, function (response) {