Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] Disable “Assign roles to space” button if no privileges are sel…
…ected (#194874) (#195118) # Backport This will backport the following commits from `main` to `8.x`: - [Disable “Assign roles to space” button if no privileges are selected (#194874)](#194874) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Tim Sullivan","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-04T16:10:17Z","message":"Disable “Assign roles to space” button if no privileges are selected (#194874)\n\n## Summary\r\n\r\nDisable “Assign roles to space” button if no base privileges or features\r\nare selected\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/4efa921b-6cc4-4496-99f7-0ee79dd318be\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/fc8fe809-f03a-4f0b-a961-328596c9b2c7\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\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- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"381c430db53fe82db454da4589803bb9cf447dd5","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","v9.0.0","v8.16.0","backport:version"],"title":"Disable “Assign roles to space” button if no privileges are selected","number":194874,"url":"https://github.com/elastic/kibana/pull/194874","mergeCommit":{"message":"Disable “Assign roles to space” button if no privileges are selected (#194874)\n\n## Summary\r\n\r\nDisable “Assign roles to space” button if no base privileges or features\r\nare selected\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/4efa921b-6cc4-4496-99f7-0ee79dd318be\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/fc8fe809-f03a-4f0b-a961-328596c9b2c7\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\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- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"381c430db53fe82db454da4589803bb9cf447dd5"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194874","number":194874,"mergeCommit":{"message":"Disable “Assign roles to space” button if no privileges are selected (#194874)\n\n## Summary\r\n\r\nDisable “Assign roles to space” button if no base privileges or features\r\nare selected\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/4efa921b-6cc4-4496-99f7-0ee79dd318be\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/fc8fe809-f03a-4f0b-a961-328596c9b2c7\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\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- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"381c430db53fe82db454da4589803bb9cf447dd5"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Tim Sullivan <[email protected]>
- Loading branch information