Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
77aa67f
docs(roadmap): close P03-9 delivery after merge
cemililik Nov 21, 2026
eefc977
Merge branch 'main' into development
cemililik Nov 21, 2026
211b9fd
docs(roadmap): record the ADR-0105 merge and hosted qualification
cemililik Nov 21, 2026
e4b9c0c
docs(decisions): accept the P03-10 data-request package
cemililik Nov 22, 2026
492f7f9
feat(identity): add data request storage, aggregates and ports
cemililik Nov 22, 2026
2929f22
feat(identity): add the retained own data-request scope
cemililik Nov 22, 2026
889245c
feat(identity): add the data export engine
cemililik Nov 22, 2026
4fb4fc5
feat(identity): add the data export request API
cemililik Nov 22, 2026
33ab8f6
feat(identity): add the retained data-request native entry
cemililik Nov 22, 2026
ae5b732
test(identity): pin the retained handlers and read-only list queries
cemililik Nov 22, 2026
810d1a4
fix(identity): harden the export store, tickets and contract
cemililik Nov 22, 2026
6ff6969
fix(identity): state the audit reach and bound the export statements
cemililik Nov 22, 2026
efbdc27
chore(sdk): regenerate the schema for the data-request contract text
cemililik Nov 22, 2026
a6c731d
docs(standards): wrap the Step 1 data-request prose at 88 columns
cemililik Nov 22, 2026
0394de9
test(identity): keep data-request tables in the Platform reversal pin
cemililik Nov 22, 2026
5ce0fe4
fix(identity): window the audit export statements and count receipts
cemililik Nov 22, 2026
a0e560f
fix(identity): build the export before the fence and bound the tickets
cemililik Nov 22, 2026
1b0e688
refactor(identity): share the data-request rules and test kit
cemililik Nov 22, 2026
88c049c
docs(roadmap): record P03-10 Step 1 and its two review rounds
cemililik Nov 22, 2026
cdbb58f
feat(platform): register data-request keys, operations, redactor port
cemililik Nov 22, 2026
8a27e5b
feat(identity): add operator inspection and erasure completion
cemililik Nov 22, 2026
1d010ca
feat(audit): add the privileged redaction executor and locators
cemililik Nov 22, 2026
ec1f26b
test(identity): run the real audit executor through the operator act
cemililik Nov 22, 2026
7d6b0d8
feat(identity): erase a person's tenant-side data on request
cemililik Nov 22, 2026
b62a112
fix(identity): refuse a closure fan-out completion; harden and document
cemililik Nov 22, 2026
7dd8252
test(identity): close the Step 2 review gaps in the erasure proofs
cemililik Nov 22, 2026
1d1057b
fix(identity): close the request-born-fulfilling witness gap; round 2
cemililik Nov 22, 2026
a1af5c3
fix(audit): bound a redaction batch by stored bytes and close the census
cemililik Nov 22, 2026
b3653ef
docs(runbooks): rewrap the erasure act's duration paragraph
cemililik Nov 22, 2026
4bb52e4
test(identity): run the operator completion in the replay-floor proof
cemililik Nov 22, 2026
560cbed
docs: close the Step 2 documentation review
cemililik Nov 22, 2026
367bb9e
fix(audit): budget a redaction batch by decompressed bytes
cemililik Nov 22, 2026
7d83053
test(identity): close the second-round gaps in the Step 2 proofs
cemililik Nov 22, 2026
6c6d838
feat(platform): add the closure fan-out and account-removal ports
cemililik Nov 22, 2026
877ffda
feat(identity): add the Keycloak account-removal adapter and its client
cemililik Nov 22, 2026
100ee96
feat(audit): redact a closing person in every tenant and the sentinel
cemililik Nov 22, 2026
e807ad8
feat(identity): the person files an account closure, live or retained
cemililik Nov 22, 2026
60eea19
feat(identity): admit the account closure's storage arrows
cemililik Nov 22, 2026
38c5c65
test(identity): list the erasure and closure actions in the census
cemililik Nov 23, 2026
25d0776
feat(identity): begin an account closure as an operator act
cemililik Nov 23, 2026
e145f1b
docs(roadmap): record P03-10 Step 2 delivery and its two review rounds
cemililik Nov 23, 2026
b94e429
feat(identity): fan a closure out to each of the person's groups
cemililik Nov 23, 2026
297ca46
docs(roadmap): close P03-10 Step 2 and update the Phase 03 Status block
cemililik Nov 23, 2026
28e2384
feat(web): add the person's own data-request pages on the native BFF
cemililik Nov 23, 2026
9e78019
feat(identity): finalize an account closure as an operator act
cemililik Nov 23, 2026
056422c
test(identity): list the closure lifecycle port in the scope census
cemililik Nov 23, 2026
bd996a0
feat(web): add the administrator's data-request surface to Studio
cemililik Nov 23, 2026
91292c9
docs(roadmap): hand the data-request gaps to Phases 09 and 11
cemililik Nov 23, 2026
86fad0c
fix(identity): harden the Keycloak account-removal adapter
cemililik Nov 23, 2026
7836c22
fix(web): make the person's data page truthful and accessible
cemililik Nov 23, 2026
c65cbb1
fix(web): make the Studio data-request surface reachable and accurate
cemililik Nov 23, 2026
3e42b72
test(identity): close the closure review's proof gaps
cemililik Nov 23, 2026
4add8e9
fix(web): finish a large export download and bound a stalled one
cemililik Nov 23, 2026
808cc2c
fix(identity): refuse what a closure cannot finish before it begins
cemililik Nov 23, 2026
ac687dc
fix(identity): register the fan-out with the operator authority
cemililik Nov 23, 2026
43c3fea
docs(roadmap): record P03-10 Steps 3 and 4 and their review rounds
cemililik Nov 23, 2026
ca2b08e
test(web): post every data-request route and prove its owner modes
cemililik Nov 23, 2026
8f30d44
docs(roadmap): update the P03-10 Status row for Steps 3 and 4
cemililik Nov 23, 2026
59d17e7
docs(roadmap): record the P03-10 owed amendments and decisions
cemililik Nov 23, 2026
8384a7d
docs(roadmap): wrap the P03-10 records at 88 columns
cemililik Nov 23, 2026
a1ce6b1
test(web): count the member page's data-request read in BFF proof
cemililik Nov 23, 2026
2463240
docs(roadmap): record the P03-10 Steps 3 and 4 verification closeout
cemililik Nov 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,15 @@ IdentityEvents__ClientSecret=learnstack-event-reader-dev-secret
# Keep it distinct from every other credential; never pass it to the web or the Seeder.
KEYCLOAK_FEDERATION_ADMIN_SECRET=learnstack-federation-admin-dev-secret
Federation__ClientSecret=learnstack-federation-admin-dev-secret
# ADR-0107 section 7 confined account-removal client (realm-management/manage-users only;
# it can also create and update users, so treat its secret as the most sensitive machine
# credential). Keycloak imports it as ${KEYCLOAK_ACCOUNT_REMOVAL_SECRET}; realm
# reconciliation verifies an existing secret and never rotates it. The API reads the same
# value as AccountRemoval__ClientSecret; without it account removal stays unconfigured and
# every closure refuses at its last step. Keep it distinct from every other credential
# (the federation admin secret included); never pass it to the web or the Seeder.
KEYCLOAK_ACCOUNT_REMOVAL_SECRET=learnstack-account-removal-dev-secret
AccountRemoval__ClientSecret=learnstack-account-removal-dev-secret
# Optional operator egress allow-list for private or non-443 IdP hosts (exact host or
# host:port, no wildcard). Empty by default; tenant input can never extend it.
# Federation__Egress__AllowedHosts__0=idp.corp.internal:8443
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ for identity, membership and authorization work; the
| Area | Delivered now | Next milestone |
|---|---|---|
| **Tenancy** | Tenant provisioning, organizations, locales, typed settings/branding reads, host resolution and database isolation, plus bounded organization, default, locale and setting administration | Full organization and settings editors in [Phase 06](docs/roadmap/phase-06-renderer-admin-studio.md) |
| **Identity** | Global User binding, contextual Membership/Profile/Role foundations, live scoped authorization, bounded member directory and trusted denial evidence, protected Studio membership and Role administration, native new-user entry and scope switching, verified invitations with automatic email, revision-pinned Membership custom values with personal consent, authenticated provider-event ingress with a deduplicated tenant Audit mirror, back-channel session revocation, and confined tenant SAML/OIDC federation | Platform authority, operational recovery and DSAR in [Phase 03](docs/roadmap/phase-03-identity-admin.md) |
| **Identity** | Global User binding, contextual Membership/Profile/Role foundations, live scoped authorization, bounded member directory and trusted denial evidence, protected Studio membership and Role administration, native new-user entry and scope switching, verified invitations with automatic email, revision-pinned Membership custom values with personal consent, authenticated provider-event ingress with a deduplicated tenant Audit mirror, back-channel session revocation, confined tenant SAML/OIDC federation, an admitted Platform operator gate with a killswitch writer, production tenant onboarding, a controlled issuer rebind, fenced operator recovery of asynchronous work, and operator steps for the federation brokers a tenant left behind | DSAR, export and erasure in [Phase 03](docs/roadmap/phase-03-identity-admin.md) |
| **Customization** | Content types, level taxonomies, exact-definition and generation-cached batched display readers, text-card metadata validation, finite Membership field definition authoring, create-only provisioning defaults and semantic built-in seed verification | Remaining authoring capabilities across [Phases 04–08a](docs/roadmap/README.md) |
| **Audit** | Classified write path and transactional durability for business changes | Operational hardening in [Phase 11](docs/roadmap/phase-11-production-hardening.md) |
| **Education** | Course and Lesson aggregates, translations, protected-content policy, scoped authoring commands, complete demo seeds and isolated public GET/HEAD reads | Full versioned curriculum in [Phase 05](docs/roadmap/phase-05-education-learning-content.md) |
Expand Down Expand Up @@ -138,11 +138,12 @@ ordinary authoring pipeline and verifies completed acts before skipping them on
[SeedData](backend/src/LearnStack.Tools.Seeder/SeedData.cs) owns the complete inventory.
Both combined entries then await the same bounded development-realm reconciler.
Older private files must explicitly add `KEYCLOAK_WEB_CLIENT_SECRET`,
`KEYCLOAK_FEDERATION_ADMIN_SECRET` (with the identical `Federation__ClientSecret`)
`KEYCLOAK_FEDERATION_ADMIN_SECRET` (with the identical `Federation__ClientSecret`),
`KEYCLOAK_ACCOUNT_REMOVAL_SECRET` (with the identical `AccountRemoval__ClientSecret`)
and the stable authority/issuer pair described in the realm guide; existing
passwords/MFA and provider IDs are preserved. Prepare these secrets before the
first `make dev` import, and retain them across reruns; `make dev` does not start
without the federation admin secret. Older files also need
without the federation admin or account removal secrets. Older files also need
explicit private permissions after verifying their ownership/type; Makefile
creation does not repair existing files. The
[realm guide](infra/keycloak/README.md#secret-continuity-and-recovery) owns setup,
Expand All @@ -151,7 +152,10 @@ refusal, safe secret recovery and qualification details.
API startup also requires the fixed
[invitation SMTP settings and encryption key ring](docs/modules/identity/providers.md#configuration-surface-and-source-bindings).
Prepare these operator-owned values before starting the API or demo; an older
private file is not silently supplied with a replacement encryption key.
private file is not silently supplied with a replacement encryption key. The API
also refuses to start without the data export key ring `DataExport__KeyRing` (same
JSON shape; `DataExport__MaxBytes` is optional), whose
[runbook](docs/runbooks/data-export.md) covers rotation and key loss.
Keycloak's separate
[account-verification sender](infra/keycloak/README.md#invitation-email-and-recipient-verification)
must also work for the complete new-recipient journey.
Expand Down
Loading
Loading