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

## Summary

Fixes #28689
This commit is contained in:
Larry Gregory 2019-01-14 13:05:42 -05:00 committed by GitHub
parent 7f8203715d
commit 4dd4ba13ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 0 deletions

View file

@ -21,6 +21,10 @@ const clusterPrivileges = [
'manage_ccr',
'manage_ilm',
'read_ilm',
'monitor_rollup',
'manage_rollup',
'manage_token',
'manage_saml',
];
const indexPrivileges = [
'all',

View file

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

View file

@ -87,6 +87,22 @@ exports[`it renders without crashing 1`] = `
"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 []}