mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Add manage_leader_index privilege (#33154)
* Add manage_leader_index privilege This commit adds the newly added manage_leader_index privilege. * Iteration * Update snaps
This commit is contained in:
parent
3280ab8ddc
commit
6b0ed49175
3 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,7 @@ const indexPrivileges = [
|
|||
'read_cross_cluster',
|
||||
'manage_follow_index',
|
||||
'manage_ilm',
|
||||
'manage_leader_index',
|
||||
];
|
||||
|
||||
export function getClusterPrivileges() {
|
||||
|
|
|
@ -46,6 +46,7 @@ module.constant('shieldPrivileges', {
|
|||
'read_cross_cluster',
|
||||
'manage_follow_index',
|
||||
'manage_ilm',
|
||||
'manage_leader_index',
|
||||
],
|
||||
applications: []
|
||||
});
|
||||
|
|
|
@ -141,6 +141,10 @@ exports[`it renders without crashing 1`] = `
|
|||
"isGroupLabelOption": false,
|
||||
"label": "manage_ilm",
|
||||
},
|
||||
Object {
|
||||
"isGroupLabelOption": false,
|
||||
"label": "manage_leader_index",
|
||||
},
|
||||
]
|
||||
}
|
||||
selectedOptions={Array []}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue