thalos-dal/docs/dal/identity-provider-boundaries.md
2026-02-22 04:31:43 -06:00

19 lines
783 B
Markdown

# Identity Provider Boundaries
## Ownership
- `IUserDataProvider`: user aggregate persistence provider boundary.
- `IRoleDataProvider`: role aggregate persistence provider boundary.
- `IPermissionDataProvider`: permission aggregate provider boundary.
- `IModuleDataProvider`: module aggregate provider boundary.
- `ITenantDataProvider`: tenant aggregate provider boundary.
- `IIdentityRepository`: DAL composition boundary for policy, token, and permission-set reads.
- `IIdentityDalGrpcContractAdapter`: gRPC translation boundary for DAL contracts.
## Rules
- Providers isolate datastore-specific behavior.
- Provider boundaries remain internal to Thalos DAL.
- DAL interfaces expose only transport-neutral contracts and read ports.
- Identity abstractions remain Thalos-owned.