-
Notifications
You must be signed in to change notification settings - Fork 919
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
[Workspace] fix:Prevent user from visiting dashboards / visualizations when out of a workspace #9024
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9024 +/- ##
=======================================
Coverage 60.93% 60.93%
=======================================
Files 3809 3809
Lines 91267 91270 +3
Branches 14413 14414 +1
=======================================
+ Hits 55616 55618 +2
Misses 32097 32097
- Partials 3554 3555 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
import { UrlForwardingSetup, UrlForwardingStart } from 'src/plugins/url_forwarding/public'; | ||
import { isEmpty } from 'lodash'; | ||
import { createHashHistory } from 'history'; | ||
} from '../../../../src/core/public'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: we can add one more import { WorkspaceAvailability } from '../../../../src/core/public'
to avoid re-order
Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
6f5b396
to
77f7f19
Compare
…s when out of a workspace (#9024) * add workspaceAvailability Signed-off-by: Qxisylolo <[email protected]> * Changeset file for PR #9024 created/updated * add tests Signed-off-by: Qxisylolo <[email protected]> * update test Signed-off-by: Qxisylolo <[email protected]> * fix test use piple Signed-off-by: Qxisylolo <[email protected]> * fix test new Signed-off-by: Qxisylolo <[email protected]> --------- Signed-off-by: Qxisylolo <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit 15a19fa) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…s when out of a workspace (opensearch-project#9024) * add workspaceAvailability Signed-off-by: Qxisylolo <[email protected]> * Changeset file for PR opensearch-project#9024 created/updated * add tests Signed-off-by: Qxisylolo <[email protected]> * update test Signed-off-by: Qxisylolo <[email protected]> * fix test use piple Signed-off-by: Qxisylolo <[email protected]> * fix test new Signed-off-by: Qxisylolo <[email protected]> --------- Signed-off-by: Qxisylolo <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
…s when out of a workspace (opensearch-project#9024) * add workspaceAvailability Signed-off-by: Qxisylolo <[email protected]> * Changeset file for PR opensearch-project#9024 created/updated * add tests Signed-off-by: Qxisylolo <[email protected]> * update test Signed-off-by: Qxisylolo <[email protected]> * fix test use piple Signed-off-by: Qxisylolo <[email protected]> * fix test new Signed-off-by: Qxisylolo <[email protected]> --------- Signed-off-by: Qxisylolo <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Signed-off-by: Federico Silva <[email protected]>
…s when out of a workspace (#9024) (#9144) * add workspaceAvailability * Changeset file for PR #9024 created/updated * add tests * update test * fix test use piple * fix test new --------- (cherry picked from commit 15a19fa) Signed-off-by: Qxisylolo <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: Yulong Ruan <[email protected]>
Description
This pr addresses:
Issues Resolved
Screenshot
Testing the changes
Changelog
Check List
yarn test:jest
yarn test:jest_integration