Remove unnecessary shield_privileges service (#35073) (#35080)

## Summary
This removes the redundant `shield_privileges` service, which is no longer used.
This commit is contained in:
Larry Gregory 2019-04-15 12:51:10 -04:00 committed by GitHub
parent e87682c5f8
commit 291320ceb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 53 deletions

View file

@ -1,52 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { uiModules } from 'ui/modules';
const module = uiModules.get('security', []);
module.constant('shieldPrivileges', {
cluster: [
'all',
'monitor',
'manage',
'manage_security',
'manage_index_templates',
'manage_pipeline',
'manage_ingest_pipelines',
'transport_client',
'manage_ml',
'monitor_ml',
'manage_watcher',
'monitor_watcher',
'read_ccr',
'manage_ccr',
'manage_ilm',
'read_ilm',
'monitor_rollup',
'manage_rollup',
'manage_token',
'manage_saml',
'create_snapshot',
],
indices: [
'all',
'manage',
'monitor',
'read',
'index',
'create',
'delete',
'write',
'delete_index',
'create_index',
'view_index_metadata',
'read_cross_cluster',
'manage_follow_index',
'manage_ilm',
'manage_leader_index',
],
applications: []
});

View file

@ -14,7 +14,6 @@ import 'ui/angular_ui_select';
import 'plugins/security/services/application_privilege';
import 'plugins/security/services/shield_user';
import 'plugins/security/services/shield_role';
import 'plugins/security/services/shield_privileges';
import 'plugins/security/services/shield_indices';
import { IndexPatternsProvider } from 'ui/index_patterns/index_patterns';