Platform / Security
← Overview
Pre-launch checklist

Secure the platform before launch

A tenant-aware schema is a start, not a substitute for access controls.

□

Authentication

Implement secure sessions, password hashing, email verification, reset flow and optional MFA for platform admins.

Required
□

Tenant authorization

Resolve tenant scope from a verified session and validated host/slug. Never trust tenant IDs sent by the browser.

Required
□

Role permissions

Enforce SUPER_ADMIN, BUSINESS_ADMIN, KITCHEN, DELIVERY and CUSTOMER permissions on the server for every action.

Required
□

Order and price integrity

Calculate totals server-side from current product prices; validate availability, quantities, delivery fee and order transitions.

Required
□

Payments

Use a payment provider and verify signed webhooks server-side. Never store card details or trust a client success screen.

Before online payments
□

Privacy and operations

Add audit logs, data retention rules, consent/privacy notices, backups, monitoring and tested restore procedures.

Before launch
Do not use demo pages or seed credentials as a production login. No production authentication is included in this starter.