Skip to content

Commit

Permalink
fix: data source permission client wrapper error of not returning exp…
Browse files Browse the repository at this point in the history
…licitly the saved object client functions (#8118)

* fix: data source permission client wrapper error of not returning
explicitly the saved object client functions

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

* Changeset file for PR #8118 created/updated

---------

Signed-off-by: Yulong Ruan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: ZilongX <[email protected]>
Co-authored-by: Xuesong Luo <[email protected]>
(cherry picked from commit cc24bf6)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
4 people committed Sep 11, 2024
1 parent 5ce8e5d commit b391930
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 b391930

Please sign in to comment.