lasdf1234 opened a new pull request, #14625:
URL: https://github.com/apache/gravitino/pull/14625
## Purpose
Cherry-pick of #14482 onto `branch-1.3`, replacing bot PR #14621 (closed
with conflicts).
## Changes
- Authorize Iceberg REST `registerTable` overwrite and foreign metadata
sources via `RegisterTableAuthzHandler` / `RegisterTableSourceResolver`.
- Add `AuthorizationHandler.entityType()` for denial attribution; update
Iceberg/Lance handlers accordingly.
- branch-1.3 adaptations:
- Drop main-only `AuthorizationRequestScope` reuse tests from
`TestBaseMetadataAuthorizationMethodInterceptor`
- Drop `findUnheldRoles` mock (API not on 1.3) from
`TestRegisterTableAuthzHandler`
## Closes
Supersedes #14621
Made with [Cursor](https://cursor.com)
--
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]