yyqdbngt opened a new pull request, #3805:
URL: https://github.com/apache/rocketmq-dashboard/pull/3805

   ### Motivation
   
   The existing `AclUserVOTest` proves credentials stay out of `toString` but 
nothing else. The Tencent permission flags, the IP whitelist and the builder 
round-trip of the remaining fields were untested.
   
   ### Changes
   
   - `toStringShouldIncludePermissionAndWhitelistFields`: 
`permRead`/`permWrite`/`whiteRemoteAddress` remain visible in the debug string 
while access/secret keys stay excluded.
   - `builderShouldRoundTripPermissionFieldsAndClusters`: id, username, 
clusters, permission flags (including an explicit null `permRead`), and the 
whitelist survive a builder round-trip.
   
   ### Verification
   
   ```
   mvn -B test -Dtest=AclUserVOTest
   [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
   [INFO] BUILD SUCCESS
   ```


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