Jennifer88huang commented on a change in pull request #5052: [doc] Improve
Pulsar Security-token-admin
URL: https://github.com/apache/pulsar/pull/5052#discussion_r319391864
##########
File path: site2/docs/security-token-admin.md
##########
@@ -105,21 +96,19 @@ $ bin/pulsar tokens create --secret-key
file:///path/to/my-secret.key \
## Authorization
-The token itself doesn't have any permission associated. That will be
determined by the
-authorization engine. Once the token is created, one can grant permission for
this token to do certain
-actions. Eg. :
+The token itself does not have any permission associated. The authorization
engine determines whether the token should have permissions or not. Once you
have created the token, one can grant permission for this token to do certain
actions. For example:
```shell
$ bin/pulsar-admin namespaces grant-permission my-tenant/my-namespace \
--role test-user \
--actions produce,consume
```
-## Enabling Token Authentication ...
+## Enable Token Authentication ...
Review comment:
Refine the titles, you can refer to
https://github.com/apache/pulsar/pull/5038
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services