adds manage_follow_index index privilege for CCR (#25720)

This commit is contained in:
Larry Gregory 2018-11-26 12:27:47 -05:00 committed by GitHub
parent 5bba27efbd
commit b0a13c9828
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View file

@ -33,6 +33,7 @@ const indexPrivileges = [
'create_index', 'create_index',
'view_index_metadata', 'view_index_metadata',
'read_cross_cluster', 'read_cross_cluster',
'manage_follow_index',
]; ];
export function getClusterPrivileges() { export function getClusterPrivileges() {

View file

@ -37,6 +37,7 @@ module.constant('shieldPrivileges', {
'create_index', 'create_index',
'view_index_metadata', 'view_index_metadata',
'read_cross_cluster', 'read_cross_cluster',
'manage_follow_index',
], ],
applications: [] applications: []
}); });

View file

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