This is to be expected.
Much like the kibana_user role, the built-in kibana_dashboard_only_user role has access to all spaces.
If you wish to secure individual spaces you should not use these roles.
Yeppers. https://github.com/elastic/kibana/issues/25701 the walk through in here by using the Advanced Settings Dashboard > Dashboards only roles worked perfectly.
Thx this saved me from needing to spin up Kibana outside of Elastic Cloud.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.