RBAC - Manage spaces - how to disable it?

In elastic stack 9.4 we want to disable /enable "Manage spaces" functionality.
I found only this in the documentation:
"An example of a built-in role is kibana_admin. Assigning this role to your users will grant access to all of Kibana's features. This includes the ability to manage spaces."

Is there another way to enable that functionality? I don't want to give users such a role.

I saw that by default this functionality is hidden.

   "applications": [
      {
        "application": "kibana-.kibana",
        "privileges": [
          "feature_discover_v2.all",
          "feature_dashboard_v2.all",
          "feature_visualize_v2.all",
          "feature_indexPatterns.all",
          "feature_savedObjectsManagement.all",
          "feature_fleetv2.read",
          "feature_fleet.read"
        ],
        "resources": [
          "*"
        ]
      }
    ]