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

   ### What changes were proposed in this pull request?
   
   Add built-in IdP group-user relation storage for the `idp-basic` plugin on 
top of the merged user/group meta mappers:
   
   - `IdpGroupUserRelPO`, `IdpGroupUserRelMapper`, and SQL provider factory 
with H2/PostgreSQL/MySQL backends
   - Register `IdpGroupUserRelMapper` in `IdpBasicMapperPackageProvider`
   - Unit tests for PO, SQL providers, and JDBC-backed storage 
(`TestIdpGroupUserRelStorage`)
   
   Code follows the `org.apache.gravitino.idp.storage` package layout 
introduced for user/group meta on `main`.
   
   ### Why are the changes needed?
   
   Built-in IdP needs persistent group-user membership (join table) to support 
authorization and user management flows.
   
   Fix: #11069
   
   ### Does this PR introduce _any_ user-facing change?
   
   No user-facing API changes. This adds internal relational storage/mapper 
support only.
   
   ### How was this patch tested?
   
   - `./gradlew :plugins:idp-basic:spotlessApply`
   - `./gradlew :plugins:idp-basic:test -PskipITs`
   
   ## Test plan
   
   - [x] `idp-basic` unit tests (PO, SQL provider, mapper package provider)
   - [ ] `idp-basic` docker-tagged storage tests (`TestIdpGroupUserRelStorage`) 
in CI
   
   
   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