Description
We are in the process of deprecating few Index privilege names that are currently in use. These may or may not have an alternative that is an exact match and so it could be breaking change when few of the deprecated privilege names are removed in future versions.
The index privilege names are referred to when creating a role for the user. The roles are indexed in the .security
index and sometimes defined in the file.
The current deprecation info API captures information for cluster_settings
, node_settings
, index_settings
, ml_settings
. This seems to be more tied to Settings
deprecation and maybe we could enhance this API to include additional deprecation information other than settings like the use of deprecated index privilege names in the roles from .security
index or role file.
This issue exists to find if the current deprecation info API can be used for this purpose or if there are any other suggestions to handle this.
Relates: #47333