sightbox/playbook
JasonFraser e863fcdb5b Document manual billing restore when a client isn't on real Stripe yet
reenable_users() is only ever called from the signed /webhook/stripe/
<slug> route -- there's no separate restore endpoint -- so a trial-timer
test or a client paying by some other means for now has no way to clear
a lockout without calling it directly. billing.py is deliberately built
for exactly this ("No Flask/HTTP objects imported here by design...
testable without a running Flask app"), so this is the documented entry
point with its HTTP wrapper removed, not a workaround.

Verified live against sample: restored every User the lockout snapshot
recorded (dispatcher, store manager, the Setup Wizard admin account, the
Stock Viewer demo account), zero failures.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
2026-10-03 23:31:12 -04:00
..
ARCHITECTURE_GUIDE.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
BACKUP_RESTORE.md Make tenants.json durable: move its bind-mount source into SIGHTBOX_DATA_DIR 2026-10-03 20:51:29 -04:00
CICD_PLAYBOOK.md Retire backend/.env for durable Dokploy env vars; pre-build backend-billing image 2026-10-02 06:07:57 -04:00
CLIENT_DEMO_GUIDE.md Drop Technician system accounts; document Stock Viewer across the personas 2026-10-03 23:03:00 -04:00
CONSUMABLES_DEMO_GUIDE.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
DEVELOPER_GUIDE.md Document manual billing restore when a client isn't on real Stripe yet 2026-10-03 23:31:12 -04:00
ENTERPRISE_STANDARDS.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
INSTALLATION_PLAYBOOK.md Drop Technician system accounts; document Stock Viewer across the personas 2026-10-03 23:03:00 -04:00
playbook.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00