How to authorization with QoS when using gRPC Hook (EXhook), or how to deny QoS 0 subscription?

Hello evenyone,

Our EMQX broker version is 5.0.21. We have used gRPC Hook to our gRPC Server and customized authentication for client connecting and authorization for client subscribing/publishing. Now we want to limit client subscription in QoS 1/2 and deny QoS 0 in order to get PUBACK message from client. However, the OnClientAuthorize method in gRPC hook does not have QoS parameter, so we can’t authorize client by QoS level.

Is there a way that the QoS level can be limited to QoS 1/2 when client subscribing?