Disable Stack Monitoring access in Kibana spaces

I want to create spaces in Kibana with some limited privileges, and I also want to disable "Stack Management" within those spaces.

I want to know what privileges to give to those users so they can only manage their indices, discover, and dashboard. Most importantly, they should have no access to stack management.

I tried applying those privileges, but I still have access to stack management in the created spaces :
image

Thank you

Did you edit the Kibana Space to remove the Stack Management?

You need to edit the space and remove what should not appears.