Error Messages handling In Kibana UI

Hi,

  • When unauthenticated user logs in to view the indices, Kibana prompt the Message saying No Permission.
  • After that the correct index selected, still the error message visible. We have to click explicitly 'ok' to cancel the error prompt.

Expected Output :
When we select the correct index the error message should disappear.

please refer the attachment for the error message.

Thanks prashant1, i think this is a good suggestion. Could you open an issue on github please ? https://github.com/elastic/kibana/issues/new?template=Bug_report.md

Thanks @ppisljar,

I have created the issue on github. please refer https://github.com/elastic/kibana/issues/76486