static KafkaPrincipal baseKafkaPrincipal(AuthorizableRequestContext context) {
        KafkaPrincipal sessionPrincipal = context.principal();
        return sessionPrincipal.getClass().equals(KafkaPrincipal.class)
            ? sessionPrincipal
            : new KafkaPrincipal(sessionPrincipal.getPrincipalType(), sessionPrincipal.getName());
    }
The set of operations which imply DESCRIBE_CONFIGS permission, when used in an ALLOW acl.
metadata/src/main/java/org/apache/kafka/metadata/authorizer/StandardAuthorizerData.java