Admin-tools status:
Session:
Signed in as , but this email is not on the admin allow-list.
User lookup
Find a user by email and see their shop membership + current effective access.
Billing portal link (safe)
Creates a Stripe Customer Portal link so the customer can update card, cancel, download invoices, etc.
Danger Zone (advanced — can desync billing vs access)
Set user subscription (override)
Creates a per-user subscription row. Takes priority over shop/rooftop access.
Set shop subscription (shortcut)
Creates/replaces a subscriptions row for this shop (shop-level override).
Admin UI gate is in ADMIN_EMAILS here, but real enforcement is in the
admin-tools Edge Function via your ADMIN_EMAILS secret.