@Override
    public CompletableFuture<Void> authorizeConfigRequest(Request request) {
        return doAsyncAuthorization(request, this::doConfigRequestAuthorization);
    }
@Test
    public void tenant_node_cannot_access_lbservice_config() throws ExecutionException, InterruptedException {
        RpcAuthorizer authorizer = createAuthorizer(new NodeIdentity.Builder(NodeType.tenant).build(), new HostRegistry());

        Request configRequest = createConfigRequest(
                new ConfigKey<>(LbServicesConfig.CONFIG_DEF_NAME, "*", LbServicesConfig.CONFIG_DEF_NAMESPACE),
                HOSTNAME);

        exceptionRule.expectMessage("Node with type 'tenant' is not allowed to access global config [name=cloud.config.lb-services,configId=*]");
        exceptionRule.expectCause(instanceOf(AuthorizationException.class));

        authorizer.authorizeConfigRequest(configRequest)
                .get();
    }