-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#5162] Add grant and revoke privileges to the Gravitino CLI. #5783
Conversation
# Conflicts: # clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoOptions.java
@shaofengshi ready to review when the CI is done. |
clients/cli/src/main/java/org/apache/gravitino/cli/commands/RevokePrivilegesFromRole.java
Outdated
Show resolved
Hide resolved
clients/cli/src/main/java/org/apache/gravitino/cli/commands/GrantPrivilegesToRole.java
Outdated
Show resolved
Hide resolved
Sorry I accidentally closed this. |
# Conflicts: # clients/cli/src/main/java/org/apache/gravitino/cli/TestableCommandLine.java # clients/cli/src/test/java/org/apache/gravitino/cli/TestRoleCommands.java
I've changed the command to use the role entity. |
clients/cli/src/main/java/org/apache/gravitino/cli/commands/RevokePrivilegesFromRole.java
Outdated
Show resolved
Hide resolved
Justin, thanks for making the update, the new command style is better for understanding I think. After I merge another PR, now it has a conflict, please resolve so that the merge can be continued. Thank you for the effort! |
# Conflicts: # clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java
@shaofengshi once CI is done it's ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks Justin.
…pache#5783) ### What changes were proposed in this pull request? Add grant and revoke privileges to the Gravitino CLI. ### Why are the changes needed? To complete the role commands. Fix: apache#5162 ### Does this PR introduce _any_ user-facing change? No but it adds two more commands. ### How was this patch tested? Tested locally.
What changes were proposed in this pull request?
Add grant and revoke privileges to the Gravitino CLI.
Why are the changes needed?
To complete the role commands.
Fix: #5162
Does this PR introduce any user-facing change?
No but it adds two more commands.
How was this patch tested?
Tested locally.