[DOCS] Add new sub feature privilege to prevent access to the cases settings (#174223)

This commit is contained in:
Lisa Cawley 2024-01-08 07:58:38 -08:00 committed by GitHub
parent 926039f079
commit ee0cb0b541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 12 deletions

View file

@ -24,7 +24,7 @@ The *{connectors-feature}* feature privilege is required to create, add,
delete, and modify case connectors and to send updates to external systems.
By default, `All` for the *Cases* feature includes authority to delete cases
and comments unless you customize the sub-feature privileges.
and comments and edit case settings unless you customize the sub-feature privileges.
====
| Give assignee access to cases
@ -33,10 +33,10 @@ a| `All` for the *Cases* feature under *Management*.
NOTE: Before a user can be assigned to a case, they must log into {kib} at
least once, which creates a user profile.
| Give view-only access for cases | `Read` for the *Cases* feature under *Management*.
| Give view-only access to cases
a| `Read` for the *Cases* feature under *Management*.
| Give access to view and delete cases | `Read` for the *Cases* feature under
*Management* with the deletion sub-feature enabled.
NOTE: By default, `Read` for the *Cases* feature does not include authority to delete cases and comments or edit case settings. You can grant this authority by customizing the sub-feature privileges.
| Revoke all access to cases | `None` for the *Cases* feature under *Management*.

View file

@ -65,7 +65,7 @@ export const getCasesSubFeaturesMap = ({
name: i18n.translate(
'securitySolutionPackages.features.featureRegistry.casesSettingsSubFeatureName',
{
defaultMessage: 'Case Settings',
defaultMessage: 'Case settings',
}
),
privilegeGroups: [
@ -77,7 +77,7 @@ export const getCasesSubFeaturesMap = ({
name: i18n.translate(
'securitySolutionPackages.features.featureRegistry.casesSettingsSubFeatureDetails',
{
defaultMessage: 'Edit Case Settings',
defaultMessage: 'Edit case settings',
}
),
includeIn: 'all',

View file

@ -102,7 +102,7 @@ export const getCasesKibanaFeature = (): KibanaFeatureConfig => {
},
{
name: i18n.translate('xpack.cases.features.casesSettingsSubFeatureName', {
defaultMessage: 'Case Settings',
defaultMessage: 'Case settings',
}),
privilegeGroups: [
{
@ -111,7 +111,7 @@ export const getCasesKibanaFeature = (): KibanaFeatureConfig => {
{
id: 'cases_settings',
name: i18n.translate('xpack.cases.features.casesSettingsSubFeatureDetails', {
defaultMessage: 'Edit Case Settings',
defaultMessage: 'Edit case settings',
}),
includeIn: 'all',
savedObject: {

View file

@ -189,7 +189,7 @@ export class ObservabilityPlugin implements Plugin<ObservabilityPluginSetup> {
},
{
name: i18n.translate('xpack.observability.featureRegistry.casesSettingsSubFeatureName', {
defaultMessage: 'Case Settings',
defaultMessage: 'Case settings',
}),
privilegeGroups: [
{
@ -200,7 +200,7 @@ export class ObservabilityPlugin implements Plugin<ObservabilityPluginSetup> {
name: i18n.translate(
'xpack.observability.featureRegistry.casesSettingsSubFeatureDetails',
{
defaultMessage: 'Edit Case Settings',
defaultMessage: 'Edit case settings',
}
),
includeIn: 'all',

View file

@ -91,13 +91,13 @@ export class FixturePlugin implements Plugin<void, void, FixtureSetupDeps, Fixtu
],
},
{
name: 'Case Settings',
name: 'Case settings',
privilegeGroups: [
{
groupType: 'independent',
privileges: [
{
name: 'Edit Case Settings',
name: 'Edit case settings',
id: 'cases_settings',
includeIn: 'all',
cases: {