promote(uat): GRO-2013 owner-bypass + GRO-2033 idempotent migrations (dev→uat) #142
Reference in New Issue
Block a user
Delete Branch "dogfather/gro-2013-promote-uat"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Promote dev → uat
Carries the following dev-merged changes to UAT for validation:
GRO-2013 — customer owner-bypass for pet profile-summary (primary)
src/routes/pets.ts:resolveImpersonationClientIdhelper + owner-bypass gating (isGroomer && !isOwner). Owner-bypass strictly requiressession.clientId === pet.clientId; cross-tenant access stays blocked; expired/ended/unknown sessions rejected.src/__tests__/petProfileSummary.test.ts(20 tests: 7 GRO-2014 error-handling + 13 GRO-2013 owner-bypass).apps/api/...mirror +UAT_PLAYBOOK.mdTC-API-3.19a/b/c.GRO-2033 — idempotent pet-profile migrations (rides along on dev)
packages/db/migrations/0039_extend_pet_profile_columns_idempotent.sql(idempotent)packages/db/migrations/0040_register_missing_coat_type_values.sql(idempotent)_journal.jsonre-registration.GRO-2014 error-handling content is already on uat (PR #138 squash
23484dc).cc @cpfarhood