Add create_snapshot privilege (#31086) (#31598)

A new cluster privilege type has been added to ES in [elastic/elasticsearch#35820](https://github.com/elastic/elasticsearch/pull/35820) .
This commit is contained in:
Brandon Kobel 2019-02-20 10:43:04 -08:00 committed by GitHub
parent f4ea42332f
commit fd58b08037
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View file

@ -25,6 +25,7 @@ const clusterPrivileges = [
'manage_rollup',
'manage_token',
'manage_saml',
'create_snapshot',
];
const indexPrivileges = [
'all',

View file

@ -29,6 +29,7 @@ module.constant('shieldPrivileges', {
'manage_rollup',
'manage_token',
'manage_saml',
'create_snapshot',
],
indices: [
'all',

View file

@ -103,6 +103,10 @@ exports[`it renders without crashing 1`] = `
"isGroupLabelOption": false,
"label": "manage_saml",
},
Object {
"isGroupLabelOption": false,
"label": "create_snapshot",
},
]
}
selectedOptions={Array []}