justinmclean commented on code in PR #5783: URL: https://github.com/apache/gravitino/pull/5783#discussion_r1872688143
########## docs/cli.md: ########## @@ -688,10 +694,23 @@ gcli group grant --group groupA --role admin ``` #### Remove a role from a group + ```bash gcli group revoke --group groupA --role admin ``` +### Grant a privilege + +```bash +gcli catalog grant --name catalog_postgres --role admin --privilege create_table modify_table Review Comment: This works the same way and is in the same format as the owner command as it deals with an entity and granting or revoking a privilege on it. Note that the entity type is needed in the Java API - from a x.y.x name you can't easily determine a fileset from a topic from a table. -- 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]
