-
Notifications
You must be signed in to change notification settings - Fork 392
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
[Improvement] In the Gravitino CLI a user details command can produce no output #5929
Labels
Comments
justinmclean
added
good first issue
Good for newcomers
improvement
Improvements on everything
labels
Dec 20, 2024
Same issue exists with |
I would like to work on it. |
Abyss-lord
added a commit
to Abyss-lord/gravitino
that referenced
this issue
Dec 22, 2024
…tput If a user has no roles then no output is produced from user\group details command, it should give some help information.
xunliu
pushed a commit
that referenced
this issue
Dec 23, 2024
…5941) ### What changes were proposed in this pull request? If a user has no roles then no output is produced from `user\group details` command, it should give some help information. ### Why are the changes needed? Fix: #5929 ### Does this PR introduce _any_ user-facing change? NO ### How was this patch tested? ```bash bin/gcli.sh user details -m demo_metalake --user test_user # output: User has no roles. bin/gcli.sh group details -m demo_metalake --group group_no_role # output: Groups has no roles. ``` --------- Co-authored-by: Qiming Teng <tengqm@outlook.com>
Abyss-lord
added a commit
to Abyss-lord/gravitino
that referenced
this issue
Dec 23, 2024
…tput (apache#5941) ### What changes were proposed in this pull request? If a user has no roles then no output is produced from `user\group details` command, it should give some help information. ### Why are the changes needed? Fix: apache#5929 ### Does this PR introduce _any_ user-facing change? NO ### How was this patch tested? ```bash bin/gcli.sh user details -m demo_metalake --user test_user # output: User has no roles. bin/gcli.sh group details -m demo_metalake --group group_no_role # output: Groups has no roles. ``` --------- Co-authored-by: Qiming Teng <tengqm@outlook.com>
Abyss-lord
added a commit
to Abyss-lord/gravitino
that referenced
this issue
Dec 29, 2024
…tput (apache#5941) ### What changes were proposed in this pull request? If a user has no roles then no output is produced from `user\group details` command, it should give some help information. ### Why are the changes needed? Fix: apache#5929 ### Does this PR introduce _any_ user-facing change? NO ### How was this patch tested? ```bash bin/gcli.sh user details -m demo_metalake --user test_user # output: User has no roles. bin/gcli.sh group details -m demo_metalake --group group_no_role # output: Groups has no roles. ``` --------- Co-authored-by: Qiming Teng <tengqm@outlook.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What would you like to be improved?
If a user has no roles then no output is produced from this command
gcli user details --metalake metalake_demo --user new_user -i
How should we improve?
Output "User has no roles." or similar.
The text was updated successfully, but these errors were encountered: