- Enable backend tests in CI (remove if: false) - Fix test_products_helpers.py to pass current_user parameter - Fix test_routines_helpers.py to include short_id in products - Fix llm_context.py to use product_effect_profile correctly - All 221 tests passing
759 B
759 B
- Added
users,households, andhousehold_membershipstables with OIDC identity key (oidc_issuer,oidc_subject) and one-household-per-user enforced via uniquehousehold_memberships.user_id. - Added
is_household_sharedtoproduct_inventorywith defaultFalseso sharing remains per-row opt-in. - Migration enforces ownership in two phases: nullable + backfill to bootstrap admin, then non-null constraints on all owned tables.
- Correction: migration 4b7d2e9f1c3a applies a two-step ownership rollout (nullable user_id, bootstrap+backfill, then NOT NULL on owned tables).
- Centralized tenant authorization in
innercontext/api/authz.pyand exposed wrappers inapi/utils.pyso routers can move from globalget_or_404to scoped helpers.