Technoboy- opened a new pull request #14638:
URL: https://github.com/apache/pulsar/pull/14638


   Fixes #14191
   
   ### Motivation
   We have some big issues with the permission part. We only have the 
permission with [doc](https://pulsar.apache.org/docs/en/admin-api-permissions/) 
mentioned. But if user do it according to the doc, they will face the same 
issue that #14191 described. We don't have GET_BUNDLE in the grant interface 
but given the prompt message to the user. And currently, only the admin role 
could have the permission. 
   This pr is not solving the permission issue but fixing the prompt message 
first, not giving 500 error to the user. Then I will open an issue to discuss 
refactoring the permission part.
   
   ### Modification
   
   - Return 403 to the user when permission is denied.
   
   ### Documentation
     
   - [x] `no-need-doc` 
     
   
   
   


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