danhuawang opened a new issue, #6061: URL: https://github.com/apache/gravitino/issues/6061
### Version main branch ### Describe what's wrong 1. Revoke the last role from a user, <img width="748" alt="image" src="https://github.com/user-attachments/assets/ae1236e5-9c6f-4517-8a3a-dbe819dad489" /> 2. The user is not existed in the users list of the metalake if set details=true <img width="730" alt="image" src="https://github.com/user-attachments/assets/5df22931-4c57-40f9-8654-f840a9df2e9e" /> 3. And the user is in the users list of the metalake if there's no details parameter <img width="514" alt="image" src="https://github.com/user-attachments/assets/36ba29c0-9375-42fc-8d04-5e5ca7333b5d" /> ### Error message and/or stacktrace N/A ### How to reproduce 1. Grant roles to user Alice 2. Then revoke all the roles for Alice 3. Check user info by api `api/metalakes/test/users?details=true` ### Additional context _No response_ -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
