lasdf1234 opened a new pull request, #11918:
URL: https://github.com/apache/gravitino/pull/11918

   ## Summary
   - Extend `POST /metalakes/{metalake}/users` and `groups` to accept optional 
`externalId` (and optional `enabled` for users), routing to external-id 
dispatcher APIs while keeping name-only create backward compatible
   - Wire `AccessControlEventDispatcher` Pre/Event/Failure events for 
external-id user/group APIs (`addUser`/`addGroup` with external id, 
get/remove/enable/disable by external id)
   - Add listener event types and extend `UserInfo`/`GroupInfo` with 
`externalId` (and `enabled` for users)
   - Update OpenAPI docs for users/groups create request schemas
   
   ## Test plan
   - [x] `./gradlew spotlessApply`
   - [x] `./gradlew :core:test --tests 
"org.apache.gravitino.listener.api.event.TestExternalIdAccessControlEvent" 
--tests "org.apache.gravitino.listener.api.event.TestUserEvent" -PskipITs`
   - [x] `./gradlew :server:test --tests 
"org.apache.gravitino.server.web.rest.TestUserOperations" --tests 
"org.apache.gravitino.server.web.rest.TestGroupOperations" -PskipITs`
   - [x] `./gradlew :docs:build`
   
   Fix: #11835
   
   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]

Reply via email to