tju-yxq opened a new pull request, #2583:
URL: https://github.com/apache/rocketmq-dashboard/pull/2583

   ## Summary
   
   - add `AclRepository.findUserPage(keyword, page, pageSize)`
   - implement Apache ACL user pagination with MyBatis-Plus `selectPage`
   - apply username/access-key keyword filtering in SQL
   - use deterministic `gmt_create DESC, id DESC` ordering
   - decode and mask credentials only for the returned page
   - make `AclService.pageUsers` use the repository page for Apache instances
   - keep Tencent role discovery unchanged, since Tencent roles are collected 
from a remote paginated API and have no local database rows
   - keep the existing unpaginated user endpoint unchanged
   
   ## Why
   
   `GET /api/acl/users/page` currently reads every `rmq_acl_user` row, decodes 
every secret, filters/sorts in memory, and then slices one page. ACL rules 
already paginate in SQL, so this makes the adjacent user inventory consistent 
and bounds page cost by pageSize rather than total account count.
   
   ## Tests
   
   - focused: `AclServiceTest, MybatisPlusAclRepositoryTest, AclControllerTest` 
— 108 tests passed
   - Checkstyle: 0 violations
   - `git diff --check`: passed
   
   Closes #2582
   


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