Skip to content
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

[SECURITY] Copy saved object flyout should not allow copying into the active space #116657

Merged
merged 3 commits into from
Oct 29, 2021

Conversation

XavierM
Copy link
Contributor

@XavierM XavierM commented Oct 28, 2021

Summary

The fly-out should exclude the active space from the list of target spaces. If there are no target spaces, the fly-out should inform you that there are no other spaces to copy this object.

image

I stress out these tests but I was not able to reproduce it, I think the refactor from @jportner made these tests more stable 😍

Resolves: #116650 #96708

Checklist

@XavierM XavierM added bug Fixes for quality problems that affect the customer experience chore Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.16.0 labels Oct 28, 2021
@XavierM XavierM requested a review from jportner October 28, 2021 14:44
@XavierM XavierM requested a review from a team as a code owner October 28, 2021 14:44
@XavierM XavierM self-assigned this Oct 28, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

@XavierM
Copy link
Contributor Author

XavierM commented Oct 28, 2021

Copy link
Contributor

@jportner jportner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks!

@XavierM
Copy link
Contributor Author

XavierM commented Oct 28, 2021

Result from the flakiness suite

image

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
spaces 164.6KB 164.6KB +1.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @XavierM

@XavierM XavierM changed the base branch from master to main October 29, 2021 14:03
@brianseeders brianseeders changed the base branch from main to master October 29, 2021 15:17
@XavierM XavierM added the auto-backport Deprecated - use backport:version if exact versions are needed label Oct 29, 2021
@XavierM XavierM merged commit 3f91556 into elastic:main Oct 29, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 29, 2021
… active space (elastic#116657)

* copy saved object flyout should not allow copying into the active space

* stupid me
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 29, 2021
… active space (elastic#116657)

* copy saved object flyout should not allow copying into the active space

* stupid me
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
8.0
7.16

The backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Oct 29, 2021
… active space (#116657) (#116818)

* copy saved object flyout should not allow copying into the active space

* stupid me

Co-authored-by: Xavier Mouligneau <[email protected]>
kibanamachine added a commit that referenced this pull request Oct 29, 2021
… active space (#116657) (#116817)

* copy saved object flyout should not allow copying into the active space

* stupid me

Co-authored-by: Xavier Mouligneau <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed bug Fixes for quality problems that affect the customer experience chore release_note:skip Skip the PR/issue when compiling release notes Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v7.16.0 v8.0.0 v8.1.0
Projects
None yet
4 participants