Multi-tenant Laravel: a real estate back-office example
·11 mins
Real estate offices as tenants: office_id on every row, spatie/laravel-permission teams, PostgreSQL RLS as a second lock, and the places where tenant context goes missing.