public AclPermissionType permissionType() {
        return data.permissionType();
    }
Return the AclPermissionType. This method will never return AclPermissionType.ANY.
clients/src/main/java/org/apache/kafka/common/acl/AccessControlEntry.java