Anonymitaet opened a new issue #14741:
URL: https://github.com/apache/pulsar/issues/14741


   ## Issue
   
   Currently, we do not have docs on how to use 
`MultiRolesTokenAuthorizationProvider`.
   
   ## Technical input
   
   Feedback from @RobertIndie:
   
   Regarding the configuration, there is no difference from [the original 
authorization 
provider.](https://pulsar.apache.org/docs/en/next/security-authorization/#enable-authorization-and-assign-superusers)
 You can just change the authorizationProvider . But currently it is only 
compatible with JWT authentication. It will try to get the role(or roles array) 
from the JWT token. For the case of roles array, it will check the permissions 
of all the roles and pass when one of them has the permission. Here is the PR 
for this feature: [#11341[Broker] Add multi roles support for 
authorization](https://github.com/apache/pulsar/pull/11341)
   
    Here is the context for developing this feature: 
https://github.com/streamnative/platform-support-tickets/issues/90#issuecomment-847590094
 
   
   


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