shaofengshi commented on code in PR #5292:
URL: https://github.com/apache/gravitino/pull/5292#discussion_r1840329725


##########
docs/cli.md:
##########
@@ -523,10 +523,33 @@ gcli role list
 
 ```bash
 gcli role create --role admin
- ```
+```
 
 #### Delete a role
 
 ```bash
 gcli role delete --role admin
- ```
+```
+
+#### Add a role to a user
+
+```bash
+gcli user update --metalake metalake_demo --user new_user --role admin

Review Comment:
   Can we use "grant" / "revoke" as the command to operate the role to 
user&groups? "update"/"delete" is not that accurate for this kind of operations.



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