feat: implement SEED_ADMIN_EMAIL support for admin staff survival on demo resets #246
Reference in New Issue
Block a user
Delete Branch "fix/gro-516-reset-cronjob-v2"
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?
Summary
SEED_ADMIN_EMAIL/SEED_ADMIN_NAMEenv var support so the real admin user survives hourly demo resets in prod/UATseedKnownUsers()(prod path) andseed()(UAT path)Files changed
packages/db/src/seed.ts— admin upsert in both seed pathsinfra/apps/groombook/overlays/prod/seed-job-patch.yaml— + SEED_ADMIN_EMAIL, SEED_ADMIN_NAMEinfra/apps/groombook/overlays/uat/reset-cronjob.yaml— + SEED_ADMIN_EMAIL, SEED_ADMIN_NAMEcc @cpfarhood
Deployed to groombook-dev
Images:
pr-246URL: https://dev.groombook.farh.net
Ready for UAT validation.