Welcome back

TableOS / Menu
Menu Items
Total Restaurants
Active
Suspended
Monthly Revenue
Restaurant
Owner Email
Status
Plan
Actions
Firebase Configuration
Firestore Data Structure
1
Multi-tenant collection path
All restaurant data lives under restaurants/{restaurantId}/. Each restaurant's data is fully isolated.
2
Sub-collections per restaurant
menu · specials · gallery · info (with docs hours and contact)
3
Security rules
Set rules so request.auth.uid == restaurantId — each user can only access their own restaurant's data.
4
Super admin role
Store role: "superadmin" in users/{uid} document to grant full platform access.