shaofengshi commented on code in PR #6359:
URL: https://github.com/apache/gravitino/pull/6359#discussion_r1945892600


##########
clients/cli/src/main/java/org/apache/gravitino/cli/commands/DeleteUser.java:
##########
@@ -53,6 +53,10 @@ public DeleteUser(
   public void handle() {
     boolean deleted = false;
 
+    if ("anonymous".equalsIgnoreCase(user)) {
+      exitWithError(ErrorMessages.DELETE_ANONYMOUS_USER);
+    }
+

Review Comment:
   Only this piece of code can be kept, others are irrelative I think.



-- 
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: commits-unsubscr...@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to