Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Cases] [Security Solution] New cases subfeatures, add comments…
… and reopen cases (#194898) (#200807) # Backport This will backport the following commits from `main` to `8.x`: - [[Cases] [Security Solution] New cases subfeatures, add comments and reopen cases (#194898)](#194898) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kevin Qualters","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-19T19:15:38Z","message":"[Cases] [Security Solution] New cases subfeatures, add comments and reopen cases (#194898)\n\n## Summary\r\n\r\nThis pr adds 2 new sub feature permissions to the cases plugin in\r\nstack/security/observability, that behave as follows. The first is for\r\ncontrolling the ability to reopen cases. When Cases has the read\r\npermission, and the reopen permission is not enabled, users have\r\npermissions as before. When enabled, users can move cases from closed to\r\nopen/in progress, but nothing else. If a user has all and this\r\npermission, they can do anything as before, if the option is unselected,\r\nthey can change case properties, and change a case from open to\r\nanything, in progress to anything, but if the case is closed, are unable\r\nto reopen it.\r\n\r\nThe 2nd permission is 'Add comment'. When enabled and the user has case\r\nread permissions, users can add comments, but not make any other changes\r\nto the case. When the user has read and this deselected, read functions\r\nas before. When a user has this permission and cases is all, this\r\nfunctions as all. When they have all but this permission is deselected,\r\nthe user can do everything normally, except add cases comments.\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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---------\r\n\r\nCo-authored-by: Michael Olorunnisola <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"0afae423443ba13c47a263c4cbc270ea09942148","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["v9.0.0","release_note:feature","ci:project-deploy-observability","Team:obs-ux-management","apm:review","backport:version","v8.17.0"],"title":"[Cases] [Security Solution] New cases subfeatures, add comments and reopen cases","number":194898,"url":"https://github.com/elastic/kibana/pull/194898","mergeCommit":{"message":"[Cases] [Security Solution] New cases subfeatures, add comments and reopen cases (#194898)\n\n## Summary\r\n\r\nThis pr adds 2 new sub feature permissions to the cases plugin in\r\nstack/security/observability, that behave as follows. The first is for\r\ncontrolling the ability to reopen cases. When Cases has the read\r\npermission, and the reopen permission is not enabled, users have\r\npermissions as before. When enabled, users can move cases from closed to\r\nopen/in progress, but nothing else. If a user has all and this\r\npermission, they can do anything as before, if the option is unselected,\r\nthey can change case properties, and change a case from open to\r\nanything, in progress to anything, but if the case is closed, are unable\r\nto reopen it.\r\n\r\nThe 2nd permission is 'Add comment'. When enabled and the user has case\r\nread permissions, users can add comments, but not make any other changes\r\nto the case. When the user has read and this deselected, read functions\r\nas before. When a user has this permission and cases is all, this\r\nfunctions as all. When they have all but this permission is deselected,\r\nthe user can do everything normally, except add cases comments.\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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---------\r\n\r\nCo-authored-by: Michael Olorunnisola <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"0afae423443ba13c47a263c4cbc270ea09942148"}},"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/194898","number":194898,"mergeCommit":{"message":"[Cases] [Security Solution] New cases subfeatures, add comments and reopen cases (#194898)\n\n## Summary\r\n\r\nThis pr adds 2 new sub feature permissions to the cases plugin in\r\nstack/security/observability, that behave as follows. The first is for\r\ncontrolling the ability to reopen cases. When Cases has the read\r\npermission, and the reopen permission is not enabled, users have\r\npermissions as before. When enabled, users can move cases from closed to\r\nopen/in progress, but nothing else. If a user has all and this\r\npermission, they can do anything as before, if the option is unselected,\r\nthey can change case properties, and change a case from open to\r\nanything, in progress to anything, but if the case is closed, are unable\r\nto reopen it.\r\n\r\nThe 2nd permission is 'Add comment'. When enabled and the user has case\r\nread permissions, users can add comments, but not make any other changes\r\nto the case. When the user has read and this deselected, read functions\r\nas before. When a user has this permission and cases is all, this\r\nfunctions as all. When they have all but this permission is deselected,\r\nthe user can do everything normally, except add cases comments.\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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---------\r\n\r\nCo-authored-by: Michael Olorunnisola <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"0afae423443ba13c47a263c4cbc270ea09942148"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Kevin Qualters <[email protected]>
- Loading branch information