Container view — Architecture Overview
view-container-overview · hero
Component view — Scope Admission and Entry
view-container-overview › view-component-admission
Component view — Identity and Tenancy Controllers
view-container-overview › view-component-administration
Admitting a Native Scoped Request
flow-native-scope-admission
New User Self-Entry and Discovery
flow-identity-self-entry
Data model
data-model
NativeSessionCandidate → void
frontend/apps/web/src/components/auth/admin-forms.tsx frontend/apps/web/src/components/auth/admin-members.tsx frontend/apps/web/src/components/auth/admin-roles.tsx
frontend/apps/web/src/server/auth/native-session-client.ts frontend/apps/web/src/server/auth/session-store.ts
frontend/apps/web/src/server/auth/native-administration-client.ts frontend/apps/web/src/server/auth/native-api-transport.ts
backend/src/LearnStack.Api/Authentication/NativeSessionSourceMiddleware.cs backend/src/LearnStack.Api/Authentication/NativeSessionSourcePolicy.cs backend/src/LearnStack.Api/Identity/NativeSessionAdmissionController.cs
backend/src/LearnStack.Api/Authentication/GlobalSelfEntryMiddleware.cs backend/src/LearnStack.Api/Authentication/HttpIdentitySelfEntryAdmission.cs
backend/src/LearnStack.Api/Identity/MembershipsController.cs backend/src/LearnStack.Api/Identity/OwnMembershipController.cs backend/src/LearnStack.Api/Identity/RolesController.cs
backend/src/LearnStack.Api/Tenancy/DefaultOrganizationController.cs backend/src/LearnStack.Api/Tenancy/OrganizationsController.cs
backend/src/LearnStack.Infrastructure/Idempotency/PostgresIdempotencyStore.Owner.cs backend/src/LearnStack.Infrastructure/Idempotency/PostgresIdempotencyStore.cs
backend/src/Modules/Identity/LearnStack.Modules.Identity.Domain/Role.cs backend/src/Modules/Identity/LearnStack.Modules.Identity.Infrastructure/Persistence/IdentityDbContext.cs
backend/src/Modules/Tenancy/LearnStack.Modules.Tenancy.Domain/Tenant.cs backend/src/Modules/Tenancy/LearnStack.Modules.Tenancy.Infrastructure/Persistence/TenancyDbContext.cs
frontend/apps/web/src/server/auth/native-session-client.ts frontend/apps/web/src/server/auth/session-store.ts
frontend/apps/web/src/server/auth/native-administration-client.ts frontend/apps/web/src/server/auth/native-api-transport.ts
backend/src/LearnStack.Api/Authentication/NativeSessionSourceMiddleware.cs backend/src/LearnStack.Api/Authentication/NativeSessionSourcePolicy.cs backend/src/LearnStack.Api/Identity/NativeSessionAdmissionController.cs
backend/src/LearnStack.Api/Authentication/GlobalSelfEntryMiddleware.cs backend/src/LearnStack.Api/Authentication/HttpIdentitySelfEntryAdmission.cs
backend/src/LearnStack.Api/Identity/MembershipsController.cs backend/src/LearnStack.Api/Identity/OwnMembershipController.cs backend/src/LearnStack.Api/Identity/RolesController.cs
backend/src/LearnStack.Api/Tenancy/DefaultOrganizationController.cs backend/src/LearnStack.Api/Tenancy/OrganizationsController.cs
backend/src/LearnStack.Infrastructure/Idempotency/PostgresIdempotencyStore.Owner.cs backend/src/LearnStack.Infrastructure/Idempotency/PostgresIdempotencyStore.cs
backend/src/Modules/Identity/LearnStack.Modules.Identity.Domain/Role.cs backend/src/Modules/Identity/LearnStack.Modules.Identity.Infrastructure/Persistence/IdentityDbContext.cs
backend/src/Modules/Tenancy/LearnStack.Modules.Tenancy.Domain/Tenant.cs backend/src/Modules/Tenancy/LearnStack.Modules.Tenancy.Infrastructure/Persistence/TenancyDbContext.cs
backend/src/LearnStack.Api/Authentication/NativeSessionSourceMiddleware.cs backend/src/LearnStack.Api/Authentication/NativeSessionSourcePolicy.cs backend/src/LearnStack.Api/Identity/NativeSessionAdmissionController.cs
backend/src/LearnStack.Api/Authentication/GlobalSelfEntryMiddleware.cs backend/src/LearnStack.Api/Authentication/HttpIdentitySelfEntryAdmission.cs
backend/src/LearnStack.Api/Identity/MembershipsController.cs backend/src/LearnStack.Api/Identity/OwnMembershipController.cs backend/src/LearnStack.Api/Identity/RolesController.cs
backend/src/LearnStack.Api/Tenancy/DefaultOrganizationController.cs backend/src/LearnStack.Api/Tenancy/OrganizationsController.cs
backend/src/LearnStack.Infrastructure/Idempotency/PostgresIdempotencyStore.Owner.cs backend/src/LearnStack.Infrastructure/Idempotency/PostgresIdempotencyStore.cs
backend/src/Modules/Identity/LearnStack.Modules.Identity.Domain/Role.cs backend/src/Modules/Identity/LearnStack.Modules.Identity.Infrastructure/Persistence/IdentityDbContext.cs
backend/src/Modules/Tenancy/LearnStack.Modules.Tenancy.Domain/Tenant.cs backend/src/Modules/Tenancy/LearnStack.Modules.Tenancy.Infrastructure/Persistence/TenancyDbContext.cs
frontend/apps/web/src/server/auth/native-session-client.ts frontend/apps/web/src/server/auth/session-store.ts
frontend/apps/web/src/server/auth/native-administration-client.ts frontend/apps/web/src/server/auth/native-api-transport.ts
backend/src/LearnStack.Api/Authentication/NativeSessionSourceMiddleware.cs backend/src/LearnStack.Api/Authentication/NativeSessionSourcePolicy.cs backend/src/LearnStack.Api/Identity/NativeSessionAdmissionController.cs
backend/src/LearnStack.Api/Identity/MembershipsController.cs backend/src/LearnStack.Api/Identity/OwnMembershipController.cs backend/src/LearnStack.Api/Identity/RolesController.cs
backend/src/LearnStack.Infrastructure/Idempotency/PostgresIdempotencyStore.Owner.cs backend/src/LearnStack.Infrastructure/Idempotency/PostgresIdempotencyStore.cs
backend/src/Modules/Identity/LearnStack.Modules.Identity.Domain/Role.cs backend/src/Modules/Identity/LearnStack.Modules.Identity.Infrastructure/Persistence/IdentityDbContext.cs
frontend/apps/web/src/server/auth/native-administration-client.ts frontend/apps/web/src/server/auth/native-api-transport.ts
backend/src/LearnStack.Api/Authentication/NativeSessionSourceMiddleware.cs backend/src/LearnStack.Api/Authentication/NativeSessionSourcePolicy.cs backend/src/LearnStack.Api/Identity/NativeSessionAdmissionController.cs
backend/src/LearnStack.Api/Authentication/GlobalSelfEntryMiddleware.cs backend/src/LearnStack.Api/Authentication/HttpIdentitySelfEntryAdmission.cs
backend/src/Modules/Identity/LearnStack.Modules.Identity.Domain/Role.cs backend/src/Modules/Identity/LearnStack.Modules.Identity.Infrastructure/Persistence/IdentityDbContext.cs
backend/src/Modules/Identity/LearnStack.Modules.Identity.Infrastructure/Persistence/IdentityEntryStorageDdl.cs
backend/src/Modules/Identity/LearnStack.Modules.Identity.Infrastructure/Persistence/Migrations/20261028194039_add_role_release_v2.cs
backend/src/Modules/Identity/LearnStack.Modules.Identity.Infrastructure/Persistence/RoleReleaseDdl.cs
backend/src/Modules/Tenancy/LearnStack.Modules.Tenancy.Infrastructure/Persistence/Migrations/20261028194056_add_seed_administration_origins.cs backend/src/Modules/Tenancy/LearnStack.Modules.Tenancy.Infrastructure/Persistence/Migrations/20261029045617_qualify_seed_administration_origins.cs
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
/
What could this change break?
What should I review most carefully?
Drag to select a region · Space to pan · Drop a screenshot
↵
feat(identity): add scoped Studio and membership administration
HodeTech/LearnStack #40
· 6 diagrams
Start the walkthrough
W
Fit the whole strip
1
Copy share link
Switch to light
Loading comments
Loading screenshots
How to move around
Ask about this canvas
/
Star
100%
Container view — Architecture Overview
Architecture
Component view — Scope Admission and Entry
Architecture
Component view — Identity and Tenancy Controllers
Architecture
Admitting a Native Scoped Request
Data flow
New User Self-Entry and Discovery
Data flow
Data model
Data model
Resume walkthrough
↵
This diagram has a walkthrough
scroll to move through it
swipe to move through it