[Core] Deprecated APIs audit (#127744)

This commit is contained in:
Alejandro Fernández Haro 2022-03-16 13:04:14 +01:00 committed by GitHub
parent d10ca8855f
commit b96dfb698a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 91 additions and 30 deletions

View file

@ -43,6 +43,7 @@ export interface FeatureElasticsearchPrivileges {
* A set of Elasticsearch roles which are required for this feature to be enabled.
*
* @deprecated do not rely on hard-coded role names.
* @removeBy 8.8.0
*
* This is relied on by the reporting feature, and should be removed once reporting
* migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/issues/19914

View file

@ -23,6 +23,7 @@ export interface FeatureKibanaPrivileges {
/**
* Whether or not this privilege should be hidden in the roles UI and disallowed on the API. Defaults to `false`.
* @deprecated
* @removeBy 8.8.0
*/
disabled?: boolean;