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][Connectors] Show a licensing message if the user …
…does not have the sufficient license for system actions. (#201396) (#201494) # Backport This will backport the following commits from `main` to `8.x`: - [[ResponseOps][Connectors] Show a licensing message if the user does not have the sufficient license for system actions. (#201396)](#201396) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Christos Nasikas","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-23T09:17:11Z","message":"[ResponseOps][Connectors] Show a licensing message if the user does not have the sufficient license for system actions. (#201396)\n\nIf a user does not have a sufficient license for a connector and the\r\nrule is already configured with such a connector we show the following\r\nmessage:\r\n\r\n<img width=\"1026\" alt=\"Screenshot 2024-11-22 at 1 48 10 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/4b3d7197-ff3c-4673-9b37-9ca627dab0db\">\r\n\r\nThis PR does the same for system actions.\r\n\r\n<img width=\"1162\" alt=\"Screenshot 2024-11-22 at 1 03 06 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/d1cbd479-ff65-453d-889a-ae7f5cd2b63b\">\r\n\r\n## Testing\r\n\r\n1. Create a rule with a case action in Platinum license\r\n2. Downgrade to basic\r\n3. Verify that a licensing message is showing for the case action.\r\nVerify in all solutions.\r\n\r\nIssue: https://github.com/elastic/kibana/issues/189978\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\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","sha":"e02059590899bd67379a5ee2243eb004a2e86952","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","v9.0.0","Feature:Alerting/RuleActions","Feature:Alerting/RulesManagement","backport:prev-minor","ci:build-serverless-image","v8.18.0"],"title":"[ResponseOps][Connectors] Show a licensing message if the user does not have the sufficient license for system actions.","number":201396,"url":"https://github.com/elastic/kibana/pull/201396","mergeCommit":{"message":"[ResponseOps][Connectors] Show a licensing message if the user does not have the sufficient license for system actions. (#201396)\n\nIf a user does not have a sufficient license for a connector and the\r\nrule is already configured with such a connector we show the following\r\nmessage:\r\n\r\n<img width=\"1026\" alt=\"Screenshot 2024-11-22 at 1 48 10 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/4b3d7197-ff3c-4673-9b37-9ca627dab0db\">\r\n\r\nThis PR does the same for system actions.\r\n\r\n<img width=\"1162\" alt=\"Screenshot 2024-11-22 at 1 03 06 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/d1cbd479-ff65-453d-889a-ae7f5cd2b63b\">\r\n\r\n## Testing\r\n\r\n1. Create a rule with a case action in Platinum license\r\n2. Downgrade to basic\r\n3. Verify that a licensing message is showing for the case action.\r\nVerify in all solutions.\r\n\r\nIssue: https://github.com/elastic/kibana/issues/189978\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\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","sha":"e02059590899bd67379a5ee2243eb004a2e86952"}},"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/201396","number":201396,"mergeCommit":{"message":"[ResponseOps][Connectors] Show a licensing message if the user does not have the sufficient license for system actions. (#201396)\n\nIf a user does not have a sufficient license for a connector and the\r\nrule is already configured with such a connector we show the following\r\nmessage:\r\n\r\n<img width=\"1026\" alt=\"Screenshot 2024-11-22 at 1 48 10 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/4b3d7197-ff3c-4673-9b37-9ca627dab0db\">\r\n\r\nThis PR does the same for system actions.\r\n\r\n<img width=\"1162\" alt=\"Screenshot 2024-11-22 at 1 03 06 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/d1cbd479-ff65-453d-889a-ae7f5cd2b63b\">\r\n\r\n## Testing\r\n\r\n1. Create a rule with a case action in Platinum license\r\n2. Downgrade to basic\r\n3. Verify that a licensing message is showing for the case action.\r\nVerify in all solutions.\r\n\r\nIssue: https://github.com/elastic/kibana/issues/189978\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\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","sha":"e02059590899bd67379a5ee2243eb004a2e86952"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Christos Nasikas <[email protected]>
- Loading branch information