Adds missing cluster privileges to role management screen (#28692) (#28701)

Fixes #28689
This commit is contained in:
Larry Gregory 2019-01-29 10:42:23 -05:00 committed by GitHub
parent 6f3f70dcb6
commit 990fb27594
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

View file

@ -19,6 +19,12 @@ const clusterPrivileges = [
'monitor_watcher',
'read_ccr',
'manage_ccr',
'manage_ilm',
'read_ilm',
'monitor_rollup',
'manage_rollup',
'manage_token',
'manage_saml',
];
const indexPrivileges = [
'all',

View file

@ -23,6 +23,12 @@ module.constant('shieldPrivileges', {
'monitor_watcher',
'read_ccr',
'manage_ccr',
'manage_ilm',
'read_ilm',
'monitor_rollup',
'manage_rollup',
'manage_token',
'manage_saml',
],
indices: [
'all',

View file

@ -79,6 +79,30 @@ exports[`it renders without crashing 1`] = `
"isGroupLabelOption": false,
"label": "manage_ccr",
},
Object {
"isGroupLabelOption": false,
"label": "manage_ilm",
},
Object {
"isGroupLabelOption": false,
"label": "read_ilm",
},
Object {
"isGroupLabelOption": false,
"label": "monitor_rollup",
},
Object {
"isGroupLabelOption": false,
"label": "manage_rollup",
},
Object {
"isGroupLabelOption": false,
"label": "manage_token",
},
Object {
"isGroupLabelOption": false,
"label": "manage_saml",
},
]
}
selectedOptions={Array []}