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

[Improvement] In the Gravitino CLI/Java API you can delete the anoymous user #5932

Open
justinmclean opened this issue Dec 20, 2024 · 1 comment
Assignees
Labels
good first issue Good for newcomers improvement Improvements on everything

Comments

@justinmclean
Copy link
Member

What would you like to be improved?

The Gravitino CLI allows you to delete the anonymous user. It does ask if are you sure, but this can have bad side effects.

If you try to create a role after this you get the error:

Failed to operate role  [admin] operation [CREATE] under metalake [metalake_demo], reason [Current user anonymous doesn't exist in the metalake metalake_demo, you should add the user to the metalake first]

You can recreate a user called anonymous to fix this error, but I'm not sure if that has other side effects. I'm assuming this may be an issue with the REST interface and Java API and not just the CLI.

How should we improve?

Change the Java API so this is not possible?

@justinmclean justinmclean added good first issue Good for newcomers improvement Improvements on everything labels Dec 20, 2024
@chenyuan99
Copy link
Contributor

Hey @justinmclean could I pick this up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers improvement Improvements on everything
Projects
None yet
Development

No branches or pull requests

2 participants