-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Open
Labels
Feature:Index ManagementIndex and index templates UIIndex and index templates UITeam:Kibana ManagementDev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//enhancementNew value added to drive a business resultNew value added to drive a business result
Description
Missing privileges for index actions should be surfaced
Per #76617, when you try to perform an action on an index without sufficient privileges (e.g. deleting an index as outlined in the linked issue), the UI shows a toast that says "Forbidden" but no other information. We can make this toast more helpful by surfacing the status code and message from the API:
{
"statusCode":403,
"error":"Forbidden",
"message":"[security_exception] action [indices:admin/delete] is unauthorized for user [test] on indices [], this action is granted by the privileges [delete_index,manage,all]"
}Surface missing cluster privileges for index templates
When the user is missing the required privileges for managing index templates they just see a 500 error:
We should incorporate the same privileges check used in component templates:
Metadata
Metadata
Assignees
Labels
Feature:Index ManagementIndex and index templates UIIndex and index templates UITeam:Kibana ManagementDev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//enhancementNew value added to drive a business resultNew value added to drive a business result

