Monitoring data can now be stored in `metrics-*` patterns when collected through elastic-agent. [Our documentation](https://www.elastic.co/guide/en/kibana/current/monitoring-data.html) recommends to use the `monitoring_user` role to view the data in Stack Monitoring application but that role does not have permissions to read from the metrics pattern.

`monitoring_user` should be allowed the same permissions on `metrics-*` as `.monitoring-*`
x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/RBACEngineTests.java
assertThat(resourcePrivileges.getPrivileges().get(IndexAction.NAME), equalTo(true));
    }
    /**
     * This tests that the action responds correctly when the user/role has some, but not all
     * of the privileges being checked.
     */
    public void testMatchSubsetOfPrivileges() throws Exception {
        Role role = Role.builder(RESTRICTED_INDICES, "test2")
            .cluster(Set.of("monitor"), Set.of())
            .add(IndexPrivilege.INDEX, "academy")
            .add(IndexPrivilege.WRITE, "initiative")
            .build();
        RBACAuthorizationInfo authzInfo = new RBACAuthorizationInfo(role, null);
        PrivilegesCheckResult response = hasPrivileges(
            IndicesPrivileges.builder().indices("academy", "initiative", "school").privileges("delete", "index", "manage").build(),
            authzInfo,
            List.of(),
            new String[] { "monitor", "manage" }
        );
        assertThat(response.allChecksSuccess(), is(false));
        assertThat(response.getDetails().cluster(), aMapWithSize(2));
        assertThat(response.getDetails().cluster().get("monitor"), equalTo(true));
        assertThat(response.getDetails().cluster().get("manage"), equalTo(false));
        assertThat(response.getDetails().index().values(), Matchers.iterableWithSize(3));
        final ResourcePrivileges academy = response.getDetails().index().get("academy");
        final ResourcePrivileges initiative = response.getDetails().index().get("initiative");
        final ResourcePrivileges school = response.getDetails().index().get("school");
        assertThat(academy.getResource(), equalTo("academy"));
        assertThat(academy.getPrivileges(), aMapWithSize(3));
        assertThat(academy.getPrivileges().get("index"), equalTo(true));