You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "lasdf1234 (via GitHub)" <gi...@apache.org> on 2026/08/19 08:12:27 UTC
[I] [FEATURE] Add getBasicUser and getBasicGroup APIs [gravitino]
lasdf1234 opened a new issue, #12512:
URL: https://github.com/apache/gravitino/issues/12512
## Describe the feature
Add lightweight user/group lookup APIs that return metadata from `user_meta` / `group_meta` only, without loading role bindings.
- New API types: `BasicUser`, `BasicGroup`
- New methods: `getBasicUser`, `getBasicGroup`
- REST endpoints:
- `GET /api/metalakes/{metalake}/users/{user}/basic`
- `GET /api/metalakes/{metalake}/groups/{group}/basic`
- Include listener events for both operations
## Motivation
Full `getUser` / `getGroup` joins role tables. Callers that only need identity metadata (name, id, externalId, enabled, audit) should avoid that overhead.
## Describe the solution
- Query only the meta table via `UserMetaService.getBasicUserByIdentifier` / `GroupMetaService.getBasicGroupByIdentifier`
- Expose through core dispatcher, REST, Java client, and OpenAPI
- Emit `GET_BASIC_USER` / `GET_BASIC_GROUP` pre/post/failure events
--
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: commits-unsubscribe@gravitino.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [FEATURE] Add getBasicUser and getBasicGroup APIs [gravitino]
Posted by "lasdf1234 (via GitHub)" <gi...@apache.org>.
lasdf1234 closed issue #12512: [FEATURE] Add getBasicUser and getBasicGroup APIs
URL: https://github.com/apache/gravitino/issues/12512
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org