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

[Spaces] Filtering out features that do not have space scope #194157

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

elena-shostak
Copy link
Contributor

@elena-shostak elena-shostak commented Sep 26, 2024

Summary

Filtering out features that do not have space scope in create_space_page

Checklist

Fixes: #194134

Release Note

Filtering out features that do not have space scope in create_space_page

@elena-shostak elena-shostak added Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! Feature:Security/Spaces Platform Security - Spaces feature backport:prev-major Backport to (8.x, 8.17, 8.16) the previous major branch and other branches in development backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) and removed backport:prev-major Backport to (8.x, 8.17, 8.16) the previous major branch and other branches in development labels Sep 26, 2024
@legrego legrego self-requested a review September 26, 2024 14:27
@elena-shostak elena-shostak marked this pull request as ready for review September 26, 2024 15:24
@elena-shostak elena-shostak requested a review from a team as a code owner September 26, 2024 15:24
@elasticmachine
Copy link
Contributor

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

Copy link
Member

@legrego legrego 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!

@kibana-ci
Copy link
Collaborator

💚 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 256.6KB 256.8KB +205.0B

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

@elena-shostak elena-shostak merged commit f8416b8 into elastic:main Sep 26, 2024
28 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11058338116

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 26, 2024
…#194157)

## Summary

Filtering out features that do not have space scope in
`create_space_page`

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

__Fixes: https://github.com/elastic/kibana/issues/194134__

## Release Note
Filtering out features that do not have space scope in
`create_space_page`

(cherry picked from commit f8416b8)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Sep 26, 2024
…194157) (#194212)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Spaces] Filtering out features that do not have space scope
(#194157)](#194157)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Elena
Shostak","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-26T18:44:11Z","message":"[Spaces]
Filtering out features that do not have space scope (#194157)\n\n##
Summary\r\n\r\nFiltering out features that do not have space scope
in\r\n`create_space_page`\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n__Fixes:
https://github.com/elastic/kibana/issues/194134__\r\n\r\n## Release
Note\r\nFiltering out features that do not have space scope
in\r\n`create_space_page`","sha":"f8416b892744ced1864404670a51e501237446c3","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Security","Feature:Security/Spaces","v9.0.0","backport:prev-minor"],"title":"[Spaces]
Filtering out features that do not have space
scope","number":194157,"url":"https://github.com/elastic/kibana/pull/194157","mergeCommit":{"message":"[Spaces]
Filtering out features that do not have space scope (#194157)\n\n##
Summary\r\n\r\nFiltering out features that do not have space scope
in\r\n`create_space_page`\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n__Fixes:
https://github.com/elastic/kibana/issues/194134__\r\n\r\n## Release
Note\r\nFiltering out features that do not have space scope
in\r\n`create_space_page`","sha":"f8416b892744ced1864404670a51e501237446c3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194157","number":194157,"mergeCommit":{"message":"[Spaces]
Filtering out features that do not have space scope (#194157)\n\n##
Summary\r\n\r\nFiltering out features that do not have space scope
in\r\n`create_space_page`\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n__Fixes:
https://github.com/elastic/kibana/issues/194134__\r\n\r\n## Release
Note\r\nFiltering out features that do not have space scope
in\r\n`create_space_page`","sha":"f8416b892744ced1864404670a51e501237446c3"}}]}]
BACKPORT-->

Co-authored-by: Elena Shostak <[email protected]>
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 30, 2024
kibanamachine added a commit that referenced this pull request Sep 30, 2024
…pace scope&quot; (#194329) (#194401)

# Backport

This will backport the following commits from `main` to `8.x`:
- [Revert &quot;[Spaces] Filtering out features that do not have space
scope&quot; (#194329)](#194329)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Elena
Shostak","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-30T09:53:04Z","message":"Revert
\"[Spaces] Filtering out features that do not have space scope\"
(#194329)\n\nReverts
#194157","sha":"65014d1b6aba514ae29bb66f9ff2f869f8526d0a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","Feature:Security/Spaces","release_note:skip","v9.0.0","backport:prev-minor"],"title":"Revert
\"[Spaces] Filtering out features that do not have space
scope\"","number":194329,"url":"https://github.com/elastic/kibana/pull/194329","mergeCommit":{"message":"Revert
\"[Spaces] Filtering out features that do not have space scope\"
(#194329)\n\nReverts
#194157","sha":"65014d1b6aba514ae29bb66f9ff2f869f8526d0a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194329","number":194329,"mergeCommit":{"message":"Revert
\"[Spaces] Filtering out features that do not have space scope\"
(#194329)\n\nReverts
#194157","sha":"65014d1b6aba514ae29bb66f9ff2f869f8526d0a"}}]}]
BACKPORT-->

Co-authored-by: Elena Shostak <[email protected]>
@elena-shostak elena-shostak deleted the 194134-space-features branch October 9, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Feature:Security/Spaces Platform Security - Spaces feature release_note:fix Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filter out features with only security scope for create space page
5 participants