You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/03/18 07:09:13 UTC

[GitHub] [pulsar] Anonymitaet opened a new issue #14741: [feat][doc] add explanations for how to use MultiRolesTokenAuthorizationProvider

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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] Anonymitaet commented on issue #14741: [feat][doc] add explanations for how to use MultiRolesTokenAuthorizationProvider

Posted by GitBox <gi...@apache.org>.
Anonymitaet commented on issue #14741:
URL: https://github.com/apache/pulsar/issues/14741#issuecomment-1072088956


   @momo-jun could you please work with @RobertIndie to resolve this issue? Thanks!
   (it is not an urgent request)


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] Anonymitaet commented on issue #14741: [feat][doc] add explanations for how to use MultiRolesTokenAuthorizationProvider

Posted by GitBox <gi...@apache.org>.
Anonymitaet commented on issue #14741:
URL: https://github.com/apache/pulsar/issues/14741#issuecomment-1072088956


   @momo-jun could you please work with @RobertIndie to resolve this issue? Thanks!
   (it is not an urgent request)


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] Anonymitaet closed issue #14741: [feat][doc] add explanations for how to use MultiRolesTokenAuthorizationProvider

Posted by GitBox <gi...@apache.org>.
Anonymitaet closed issue #14741:
URL: https://github.com/apache/pulsar/issues/14741


   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org