-
Notifications
You must be signed in to change notification settings - Fork 923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport 2.x] [Workspace]Restrict saved objects finding when workspace enabled #7182
Conversation
* Limit data source saved objects finding and access when workspace enabled Signed-off-by: Lin Wang <[email protected]> * Remove options.workspaces drop behavior in conflict client wrapper Signed-off-by: Lin Wang <[email protected]> * Changeset file for PR #7125 created/updated * Update src/plugins/workspace/server/saved_objects/workspace_saved_objects_client_wrapper.ts Co-authored-by: SuZhou-Joe <[email protected]> Signed-off-by: Lin Wang <[email protected]> * Update src/plugins/workspace/server/saved_objects/workspace_saved_objects_client_wrapper.ts Co-authored-by: Yulong Ruan <[email protected]> Signed-off-by: Lin Wang <[email protected]> * Remove formatFindParams Signed-off-by: Lin Wang <[email protected]> * Fix code format Signed-off-by: Lin Wang <[email protected]> * Fix ACLSearchParams and empty workspaces Signed-off-by: Lin Wang <[email protected]> * Refactor workspace client wrapper find Signed-off-by: Lin Wang <[email protected]> * Remove global saved objects validation logic Signed-off-by: Lin Wang <[email protected]> * Update uts and its Signed-off-by: Lin Wang <[email protected]> * Changeset file for PR #7125 created/updated * Remove no need changes and refactor Signed-off-by: Lin Wang <[email protected]> * Fix global saved objects not found Signed-off-by: Lin Wang <[email protected]> * Change saved object get to assert Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: Yulong Ruan <[email protected]> Co-authored-by: SuZhou-Joe <[email protected]> Co-authored-by: Yulong Ruan <[email protected]> (cherry picked from commit 1cb5956) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
❌ Invalid Changelog HeadingThe '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #7182 +/- ##
==========================================
- Coverage 67.60% 67.60% -0.01%
==========================================
Files 3449 3449
Lines 68072 68061 -11
Branches 11056 11053 -3
==========================================
- Hits 46022 46011 -11
+ Misses 19382 19381 -1
- Partials 2668 2669 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Backport 1cb5956 from #7125.