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
return null;
        }).when(rolesStore).getRoles(any(), anyActionListener());
        final PlainActionFuture<AuthorizationInfo> future = new PlainActionFuture<>();
        engine.resolveAuthorizationInfo(
            new RequestInfo(
                AuthenticationTestHelper.builder().build(),
                mock(TransportRequest.class),
                randomAlphaOfLengthBetween(20, 30),
                null
            ),
            future
        );
        final AuthorizationInfo authorizationInfo = future.actionGet();
        assertThat((String[]) authorizationInfo.asMap().get("user.roles"), emptyArray());
        assertThat((String[]) authorizationInfo.getAuthenticatedUserAuthorizationInfo().asMap().get("user.roles"), emptyArray());
    }
    public void testResolveAuthorizationInfoForEmptyRoleWithSubject() {
        doAnswer(invocation -> {
            @SuppressWarnings("unchecked")
            final var listener = (ActionListener<Role>) invocation.getArgument(1);
            listener.onResponse(Role.EMPTY);
            return null;
        }).when(rolesStore).getRole(any(), anyActionListener());
        final PlainActionFuture<AuthorizationInfo> future = new PlainActionFuture<>();
        engine.resolveAuthorizationInfo(AuthenticationTestHelper.builder().build().getEffectiveSubject(), future);
        final AuthorizationInfo authorizationInfo = future.actionGet();
        assertThat((String[]) authorizationInfo.asMap().get("user.roles"), emptyArray());
        assertThat((String[]) authorizationInfo.getAuthenticatedUserAuthorizationInfo().asMap().get("user.roles"), emptyArray());
    }
    public void testSameUserPermission() {