yuqi1129 opened a new issue, #11032: URL: https://github.com/apache/gravitino/issues/11032
### Describe the feature Add the infrastructure needed by the follow-up JcasbinAuthorizer cache refactor. This task includes: - Add a generic `GravitinoCache` abstraction with Caffeine and no-op implementations. - Add per-request lookup caches in `AuthorizationRequestContext` for user, group, metadata id, and owner lookup deduplication. - Thread `AuthorizationRequestContext` through authorization filter/executor paths. - Update `isMetalakeUser` to accept `AuthorizationRequestContext`. - Switch entity/owner change polling mapper APIs to id-based cursors and expose latest id lookup helpers. ### Motivation This is a smaller prerequisite task for #10996. It keeps the reusable cache/request-context support separate from the later JcasbinAuthorizer behavior rewrite, making the implementation easier to review and merge first. ### Describe the solution Introduce the support layer only. The actual JcasbinAuthorizer version-validated cache behavior will stay in a follow-up PR after this task is merged. ### Additional context Parent epic: #9898 Split from #10996. -- 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]
