You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by gi...@git.apache.org on 2017/07/25 17:10:38 UTC

[GitHub] yush1ga commented on a change in pull request #543: Added documents for wildcard matching in authorization

yush1ga commented on a change in pull request #543: Added documents for wildcard matching in authorization
URL: https://github.com/apache/incubator-pulsar/pull/543#discussion_r129210442
 
 

 ##########
 File path: site/_includes/explanations/permissions.md
 ##########
 @@ -14,6 +14,37 @@ $ pulsar-admin namespaces grant-permission test-property/cl1/ns1 \
   --role admin10
 ```
 
+Wildcard authorization can be performed when `authorizationAllowWildcardsMatching` is set to `true` in `broker.conf`.
+
+e.g.
+```shell
+$ pulsar-admin namespaces grant-permission test-property/cl1/ns1 \
+                        --actions produce,consume \
+                        --role my.role.*
 
 Review comment:
   Added single quotation.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services