Skip to content
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

Merged
merged 10 commits into from
Dec 19, 2024

Conversation

justinmclean
Copy link
Member

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.

# Conflicts:
#	clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoOptions.java
@justinmclean justinmclean self-assigned this Dec 6, 2024
@justinmclean
Copy link
Member Author

@shaofengshi ready to review when the CI is done.

docs/cli.md Outdated Show resolved Hide resolved
@justinmclean justinmclean deleted the cli_perfmissions branch December 9, 2024 01:05
@justinmclean justinmclean restored the cli_perfmissions branch December 9, 2024 02:57
@justinmclean
Copy link
Member Author

Sorry I accidentally closed this.

@justinmclean justinmclean reopened this Dec 9, 2024
justinmclean and others added 3 commits December 11, 2024 11:08
# Conflicts:
#	clients/cli/src/main/java/org/apache/gravitino/cli/TestableCommandLine.java
#	clients/cli/src/test/java/org/apache/gravitino/cli/TestRoleCommands.java
@justinmclean
Copy link
Member Author

I've changed the command to use the role entity.

@shaofengshi
Copy link
Contributor

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
@justinmclean
Copy link
Member Author

@shaofengshi once CI is done it's ready for review

Copy link
Contributor

@shaofengshi shaofengshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Justin.

@shaofengshi shaofengshi merged commit 7ad9377 into apache:main Dec 19, 2024
25 checks passed
Abyss-lord pushed a commit to Abyss-lord/gravitino that referenced this pull request Dec 29, 2024
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Role support to the Gravitino CLI
3 participants