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