private void verifyNoExclusions(String clusterId, AccessControl accessControl, Context context) {
        if (!accessControl.excludedBindings().isEmpty()) {
            String message = "Application cluster %s excludes paths from access control, this is not allowed and should be removed.".formatted(clusterId);
            if (Set.of(DEFAULT, YAHOO).contains(context.deployState().zone().cloud().name())) {
                context.deployState().getDeployLogger().log(Level.WARNING, message);
            } else {
                context.illegal(message);
            }
        }
   }
Validates that 'access-control' does not include any exclusions unless explicitly allowed.
Logs in Yahoo clouds and fails in AWS clouds

@author mortent
config-model/src/main/java/com/yahoo/vespa/model/application/validation/AccessControlFilterExcludeValidator.java