RockteMQ-AI commented on issue #1752:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/1752#issuecomment-5252967849

   ## Issue Evaluation
   
   Category: `type/bug` | Status: **Confirmed**
   
   Verified against `rocketmq-studio` branch. `AclService.createUser` validates 
username with `StringUtils.hasText()`, but `AclService.updateUser` only checks 
for `null` (to preserve existing value), allowing blank/whitespace usernames to 
be persisted.
   
   **Root Cause:** Missing `StringUtils.hasText()` validation in `updateUser` 
when `username` is non-null.
   **Impact:** ACL data integrity — invalid usernames can be written to the 
repository.
   **Severity:** Medium
   
   A fix PR can be generated. Reply `/approve` to proceed, or `/reject` to 
decline.
   
   ---
   *Automated evaluation by RockteMQ-AI*
   


-- 
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]

Reply via email to