Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [ResponseOps][Rules] Hide the "Role visibility" dropd…
…own in the new rule form in serverless (#200727) (#203077) # Backport This will backport the following commits from `main` to `8.x`: - [[ResponseOps][Rules] Hide the "Role visibility" dropdown in the new rule form in serverless (#200727)](#200727) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Antonio","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-05T11:20:37Z","message":"[ResponseOps][Rules] Hide the \"Role visibility\" dropdown in the new rule form in serverless (#200727)\n\nFixes #199642\r\n\r\n## Summary\r\n\r\n~~This PR hides the role visibility dropdown in the new rule form when\r\nin serverless.~~\r\n\r\nThis PR hides the role visibility dropdown in the new rule form **when\r\nonly one consumer is available**.\r\n\r\n## How to test\r\n\r\n1. Run Kibana security serverless and confirm the rules in stack\r\nmanagement do not have the role visibility dropdown.\r\n2. Please also make sure that the drop-down still shows when\r\nneeded(outside of serverless).","sha":"7498ab00618baf5d5d30d32b989d4ba93da2803e","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Feature:Alerting","release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-minor","v8.17.0","v8.18.0","v8.16.2"],"title":"[ResponseOps][Rules] Hide the \"Role visibility\" dropdown in the new rule form in serverless","number":200727,"url":"https://github.com/elastic/kibana/pull/200727","mergeCommit":{"message":"[ResponseOps][Rules] Hide the \"Role visibility\" dropdown in the new rule form in serverless (#200727)\n\nFixes #199642\r\n\r\n## Summary\r\n\r\n~~This PR hides the role visibility dropdown in the new rule form when\r\nin serverless.~~\r\n\r\nThis PR hides the role visibility dropdown in the new rule form **when\r\nonly one consumer is available**.\r\n\r\n## How to test\r\n\r\n1. Run Kibana security serverless and confirm the rules in stack\r\nmanagement do not have the role visibility dropdown.\r\n2. Please also make sure that the drop-down still shows when\r\nneeded(outside of serverless).","sha":"7498ab00618baf5d5d30d32b989d4ba93da2803e"}},"sourceBranch":"main","suggestedTargetBranches":["8.17","8.x","8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200727","number":200727,"mergeCommit":{"message":"[ResponseOps][Rules] Hide the \"Role visibility\" dropdown in the new rule form in serverless (#200727)\n\nFixes #199642\r\n\r\n## Summary\r\n\r\n~~This PR hides the role visibility dropdown in the new rule form when\r\nin serverless.~~\r\n\r\nThis PR hides the role visibility dropdown in the new rule form **when\r\nonly one consumer is available**.\r\n\r\n## How to test\r\n\r\n1. Run Kibana security serverless and confirm the rules in stack\r\nmanagement do not have the role visibility dropdown.\r\n2. Please also make sure that the drop-down still shows when\r\nneeded(outside of serverless).","sha":"7498ab00618baf5d5d30d32b989d4ba93da2803e"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Antonio <[email protected]>
- Loading branch information