Skip to content

Commit

Permalink
fix: data source permission client wrapper error of not returning (#8128
Browse files Browse the repository at this point in the history
)

explicitly the saved object client functions

Signed-off-by: Yulong Ruan <[email protected]>

Changeset file for PR #8118 created/updated
  • Loading branch information
ruanyl authored Sep 11, 2024
1 parent 8fc3fbf commit 39be6a9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/8118.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Necessary functions are missing from data source permission saved object wrapper ([#8118](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8118))
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@ export class DataSourcePermissionClientWrapper {
delete: deleteWithManageableBy,
update: updateWithManageableBy,
bulkUpdate: bulkUpdateWithManageableBy,
get: wrapperOptions.client.get,
checkConflicts: wrapperOptions.client.checkConflicts,
errors: wrapperOptions.client.errors,
addToNamespaces: wrapperOptions.client.addToNamespaces,
deleteFromNamespaces: wrapperOptions.client.deleteFromNamespaces,
find: wrapperOptions.client.find,
bulkGet: wrapperOptions.client.bulkGet,
deleteByWorkspace: wrapperOptions.client.deleteByWorkspace,
};
};

Expand Down

0 comments on commit 39be6a9

Please sign in to comment.