user-engine/src/user_engine
tegwick 47a58d5cc2
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
Report tenant grouping from the authority record
tenant-engine has made grouping mutable through its own reclassification
route, so a tenant created as tenant:small:acme can report grouping "large".
The identifier's grouping segment is now historical and must not be parsed.

TenantRecord dropped the field entirely, so the portal read discarded the one
safe source of a tenant's classification and left an operator with nothing but
the identifier to infer from — exactly the mistake the change creates. The
record and adapter now carry grouping, the operator screen shows it with a
note that the identifier segment is not the grouping, and the OpenAPI schema
documents where to read it.

Also corrects the UpdateTenant description, which still claimed grouping was
immutable. It is mutable, but never as metadata, because it resolves a
tenant's spend ceiling.

No reclassification control is offered here: that route is not deployed yet
and, per tenant-engine, wants its own permission rather than riding on rename.

Full suite: 149 tests, 3 provider-gated skips.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-18 10:56:54 +02:00
..
adapters Report tenant grouping from the authority record 2026-08-18 10:56:54 +02:00
domain Make registration start idempotent 2026-08-10 19:53:39 +02:00
migrations/postgres Package Postgres migrations with user-engine 2026-07-27 23:20:40 +02:00
testing test: add provider postgres conformance 2026-06-16 07:33:34 +02:00
__init__.py feat: add registration access ui contracts 2026-06-15 23:39:34 +02:00
errors.py Implement isolated user-engine MVP 2026-05-22 21:20:19 +02:00
migrations.py feat: add durable store conformance harness 2026-06-16 00:20:29 +02:00
oidc.py Expand portal onboarding and administration 2026-08-08 23:09:23 +02:00
ports.py Report tenant grouping from the authority record 2026-08-18 10:56:54 +02:00
projections.py Finalize user-engine contracts and operability 2026-05-22 21:45:30 +02:00
runtime.py Authenticate flex-auth calls with a rotating caller token 2026-08-18 10:53:31 +02:00
service.py Authorize me reads as self service 2026-08-14 18:25:56 +02:00
store_records.py feat: add postgres user engine store 2026-06-16 07:14:37 +02:00
ui.py feat: add registration access ui contracts 2026-06-15 23:39:34 +02:00
web.py Report tenant grouping from the authority record 2026-08-18 10:56:54 +02:00