lasdf1234 opened a new pull request, #12332:
URL: https://github.com/apache/gravitino/pull/12332
### What changes were proposed in this pull request?
- Expose `id()` on `User` and align DTO / listener info
- Add relational lookup/update/delete by metalake + gravitino user id
- Add `SupportsIdOperations` and wire JDBC / in-memory entity stores for USER
- Add AccessControlDispatcher by-id user APIs (get/remove/enable/disable;
updateUserExternalId) plus hook/event dispatchers
### Why are the changes needed?
SCIM push needs a stable server-assigned id as the user resource key,
separate
from optional mutable `externalId`. Core currently only keys users by name or
externalId.
Fix: #12330
### Does this PR introduce _any_ user-facing change?
- New `User.id()` on the public API
- New AccessControlDispatcher user methods keyed by gravitino id
- Existing by-name and by-externalId APIs unchanged
### How was this patch tested?
- `TestAccessControlManager.testUserById`
- Existing access-control unit tests
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]