Kalvin2077 opened a new pull request, #3761: URL: https://github.com/apache/celeborn/pull/3761
### What changes were proposed in this pull request? Call `checkAuth(context, pb.getAppId)` before serving `PbReviseLostShuffles` in the Master, consistent with the other application-scoped handlers. ### Why are the changes needed? The Master handled `PbReviseLostShuffles` without an authorization check. With authentication enabled, an application could specify another application's ID and add shuffle IDs to its `registeredAppAndShuffles` metadata. ### Does this PR resolve a correctness bug? - [ ] Yes ### Does this PR introduce _any_ user-facing change? - [ ] Yes ### How was this patch tested? - New case in `MasterApplicationMetaAuthSuite` verifying same-application requests succeed and cross-application requests are rejected with authentication enabled - New case in `MasterSuite` verifying same-application requests succeed, cross-application requests are rejected, and authentication-disabled behavior is preserved. -- 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]
