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

   > @nodece @dragonls - I don't think we should have taken this direction with 
the PR. I propose an alternative here: #20142.
   
   OK. I looked into all relative discussion, the right direction seems to be:
   
   1. All superUser/admin check should be put into `AuthorizationService`.
   2. Outer callers, such as Producer/Consumer, shoud call 
allowTopicOperationAsync instead of 
`canProduceAsync`/`canConsumerAsync`/`canLookupAsync`.


-- 
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