-
Notifications
You must be signed in to change notification settings - Fork 885
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 <wonglam@amazon.com> * Remove options.workspaces drop behavior in conflict client wrapper Signed-off-by: Lin Wang <wonglam@amazon.com> * 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 <suzhou@amazon.com> Signed-off-by: Lin Wang <wonglam@amazon.com> * Update src/plugins/workspace/server/saved_objects/workspace_saved_objects_client_wrapper.ts Co-authored-by: Yulong Ruan <ruanyu1@gmail.com> Signed-off-by: Lin Wang <wonglam@amazon.com> * Remove formatFindParams Signed-off-by: Lin Wang <wonglam@amazon.com> * Fix code format Signed-off-by: Lin Wang <wonglam@amazon.com> * Fix ACLSearchParams and empty workspaces Signed-off-by: Lin Wang <wonglam@amazon.com> * Refactor workspace client wrapper find Signed-off-by: Lin Wang <wonglam@amazon.com> * Remove global saved objects validation logic Signed-off-by: Lin Wang <wonglam@amazon.com> * Update uts and its Signed-off-by: Lin Wang <wonglam@amazon.com> * Changeset file for PR #7125 created/updated * Remove no need changes and refactor Signed-off-by: Lin Wang <wonglam@amazon.com> * Fix global saved objects not found Signed-off-by: Lin Wang <wonglam@amazon.com> * Change saved object get to assert Signed-off-by: Lin Wang <wonglam@amazon.com> --------- Signed-off-by: Lin Wang <wonglam@amazon.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: Yulong Ruan <ruanyl@amazon.com> Co-authored-by: SuZhou-Joe <suzhou@amazon.com> Co-authored-by: Yulong Ruan <ruanyu1@gmail.com> (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.