wuzhanpeng opened a new pull request #11113:
URL: https://github.com/apache/pulsar/pull/11113


   ### Motivation
   
   This PR fixed the problem that 
`org.apache.pulsar.broker.authorization.AuthorizationProvider#canConsumeAsync` 
returned `true` when 
`org.apache.pulsar.common.policies.data.AuthPolicies#getSubscriptionAuthentication`
 was empty (i.e. the set of `subscription_auth_roles` in admin policies is 
empty).
   
   ### Modifications
   
   - `canConsumeAsync` of `PulsarAuthorizationProvider` and its relative test 
case.


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