mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
Add ILM privileges (#27461)
This commit adds the `manage_ilm`, `read_ilm` cluster privileges, and the `manage_ilm` index privilege. these were introduced into ES by: https://github.com/elastic/elasticsearch/pull/36493
This commit is contained in:
parent
25ce65ed52
commit
c7dacec434
4 changed files with 18 additions and 0 deletions
|
@ -19,6 +19,8 @@ const clusterPrivileges = [
|
||||||
'monitor_watcher',
|
'monitor_watcher',
|
||||||
'read_ccr',
|
'read_ccr',
|
||||||
'manage_ccr',
|
'manage_ccr',
|
||||||
|
'manage_ilm',
|
||||||
|
'read_ilm',
|
||||||
];
|
];
|
||||||
const indexPrivileges = [
|
const indexPrivileges = [
|
||||||
'all',
|
'all',
|
||||||
|
@ -34,6 +36,7 @@ const indexPrivileges = [
|
||||||
'view_index_metadata',
|
'view_index_metadata',
|
||||||
'read_cross_cluster',
|
'read_cross_cluster',
|
||||||
'manage_follow_index',
|
'manage_follow_index',
|
||||||
|
'manage_ilm',
|
||||||
];
|
];
|
||||||
|
|
||||||
export function getClusterPrivileges() {
|
export function getClusterPrivileges() {
|
||||||
|
|
|
@ -23,6 +23,8 @@ module.constant('shieldPrivileges', {
|
||||||
'monitor_watcher',
|
'monitor_watcher',
|
||||||
'read_ccr',
|
'read_ccr',
|
||||||
'manage_ccr',
|
'manage_ccr',
|
||||||
|
'manage_ilm',
|
||||||
|
'read_ilm',
|
||||||
],
|
],
|
||||||
indices: [
|
indices: [
|
||||||
'all',
|
'all',
|
||||||
|
@ -38,6 +40,7 @@ module.constant('shieldPrivileges', {
|
||||||
'view_index_metadata',
|
'view_index_metadata',
|
||||||
'read_cross_cluster',
|
'read_cross_cluster',
|
||||||
'manage_follow_index',
|
'manage_follow_index',
|
||||||
|
'manage_ilm',
|
||||||
],
|
],
|
||||||
applications: []
|
applications: []
|
||||||
});
|
});
|
||||||
|
|
|
@ -79,6 +79,14 @@ exports[`it renders without crashing 1`] = `
|
||||||
"isGroupLabelOption": false,
|
"isGroupLabelOption": false,
|
||||||
"label": "manage_ccr",
|
"label": "manage_ccr",
|
||||||
},
|
},
|
||||||
|
Object {
|
||||||
|
"isGroupLabelOption": false,
|
||||||
|
"label": "manage_ilm",
|
||||||
|
},
|
||||||
|
Object {
|
||||||
|
"isGroupLabelOption": false,
|
||||||
|
"label": "read_ilm",
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
selectedOptions={Array []}
|
selectedOptions={Array []}
|
||||||
|
|
|
@ -138,6 +138,10 @@ exports[`it renders without crashing 1`] = `
|
||||||
"isGroupLabelOption": false,
|
"isGroupLabelOption": false,
|
||||||
"label": "manage_follow_index",
|
"label": "manage_follow_index",
|
||||||
},
|
},
|
||||||
|
Object {
|
||||||
|
"isGroupLabelOption": false,
|
||||||
|
"label": "manage_ilm",
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
selectedOptions={Array []}
|
selectedOptions={Array []}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue