michaeljmarshall opened a new pull request, #19184:
URL: https://github.com/apache/pulsar/pull/19184

   ### Motivation
   
   When a DLQ producer connects, it creates a subscription when configured to 
do so. The `subscriptionName` should be passed to the `authorizationProvider` 
to properly determine authorization.
   
   ### Modifications
   
   * Pass `initialSubscriptionName` to `isTopicOperationAllowed` method in the 
`ServerCnx`.
   
   ### Verifying this change
   
   I am going to work on generic tests to cover this case (and some others) 
when I do #19183.
   
   ### Does this pull request potentially affect one of the following parts:
   
   This is not a breaking change.
   
   ### Documentation
   
   - [x] `doc-not-needed`
   
   This only impacts users that have subscription level permissions, which are 
not well documented. We should improve those docs eventually, but there is no 
need to fix those docs while making this fix.
   
   ### Matching PR in forked repository
   
   PR in forked repository: https://github.com/michaeljmarshall/pulsar/pull/11


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