[8.x] [Spaces] Open 'manage roles' link for spaces assign role flyout in new tab (#199506) #200228
+65
−6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
main
to8.x
:Questions ?
Please refer to the Backport tool documentation
\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","sha":"190430b0b2011235963af069a0196cfafb7a5cd5","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","v9.0.0","backport:prev-minor","ci:cloud-deploy"],"title":"[Spaces] Open 'manage roles' link for spaces assign role flyout in new tab","number":199506,"url":"https://github.com//pull/199506","mergeCommit":{"message":"[Spaces] Open 'manage roles' link for spaces assign role flyout in new tab (#199506)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana-team/issues/1281\r\n\r\nModify the \"manage role\" link in the assign roles to space tab, so it\r\nopens the roles screen in a new tab, with an improvement so that on\r\ntransitioning back to the assign roles space tab the user is presented\r\nwith an updated list of roles created in the page that was created\r\nopened, if any.\r\n\r\nCaveat:\r\n\r\nThis approach will continually make calls to refresh the role list on\r\nevery page visibility event that matches the conditions provided until\r\nthe flyout gets closed.\r\n\r\n##### Visuals\r\n\r\n\r\nhttps://github.com/user-attachments/assets/64cb296d-246d-4033-a655-7b10d0dafab1\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\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","sha":"190430b0b2011235963af069a0196cfafb7a5cd5"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com//pull/199506","number":199506,"mergeCommit":{"message":"[Spaces] Open 'manage roles' link for spaces assign role flyout in new tab (#199506)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana-team/issues/1281\r\n\r\nModify the \"manage role\" link in the assign roles to space tab, so it\r\nopens the roles screen in a new tab, with an improvement so that on\r\ntransitioning back to the assign roles space tab the user is presented\r\nwith an updated list of roles created in the page that was created\r\nopened, if any.\r\n\r\nCaveat:\r\n\r\nThis approach will continually make calls to refresh the role list on\r\nevery page visibility event that matches the conditions provided until\r\nthe flyout gets closed.\r\n\r\n##### Visuals\r\n\r\n\r\nhttps://github.com/user-attachments/assets/64cb296d-246d-4033-a655-7b10d0dafab1\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\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","sha":"190430b0b2011235963af069a0196cfafb7a5cd5"}}]}] BACKPORT-->