Serwios opened a new pull request, #18130: URL: https://github.com/apache/kafka/pull/18130
*More detailed description of your change, if necessary. The PR title and PR message become the squashed commit message, so use a separate comment to ping reviewers.* *Summary of testing strategy (including rationale) for the feature or bug fix. Unit and/or integration tests are expected for any behaviour change and system tests should be considered for larger changes.* Refactors the authorization logic to improve readability and maintainability. The main changes include: 1. Created class to separate already big default method implementation from other interface methods 2. Separated big method into smaller onse for better readability and maintainability 2. I ensured that ACL bindings and permission types are handled clearly, and the logic for handling resource patterns (literal and prefix) is optimized ### Committer Checklist (excluded from commit message) - [X] Verify design and implementation - [X] Verify test coverage and CI build status - [X] Verify documentation (including upgrade notes) -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org