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

 ##########
 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:
   Should this be written with quotes to avoid Bash from doing file pattern 
matching?
   
   ```shell
   ...
   --role 'my.role.*'
   ```
   
 
----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to