dragonls commented on PR #20151:
URL: https://github.com/apache/pulsar/pull/20151#issuecomment-1543420993

   Yes, the test was added long time ago. But it's still inconsistent with our 
conventional understanding, which means the behavior is different between 
WebSocket Proxy and others.
   
   I once think about changing the code in `PulsarAuthorizationProvider` from
   `canProduceAsync` -> `checkAuthorization`
   to
   `canProduceAsync` -> `allowTopicOperationAsync` -> `innerCanProduceAsync` -> 
`checkAuthorization`
   
   But I am not sure whether this is the right way. My main purpose is to hope 
that all code logic meets expectations, including WebSocket Proxy.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to