Hi, i need to hide some elements to specific users.
I created a new users, and i gave it the following permissions:
I created this role and i mapped the user:

Then I created a policy that allows the user to see just his agents
But now when i log in with the user i get this error. It doesn't seem to affect anything, but it appears everytime. What can i do?
now, when i try to access to the index management, i get an error that says i don't have permission, and that's ok:

but when i go to stack management, i can modify the index patterns and the advanced settings. How can i disable it???
How can i disable that? Is there a way to hide some elements of the menu to specific users too? I want this user to see just his agents and some dashboards.
right now this users sees every option from the menu:
Thank you.