The Multi-Tenancy Challenge
BatchBoard is a multi-tenant SaaS — hundreds of schools share the same application infrastructure. How do we guarantee that Sunrise Academy in Delhi can never see data belonging to Green Valley School in Pune?
Row-Level Isolation
Every data record in BatchBoard is tagged with the organisation it belongs to. Our data layer enforces this at the query level, not the application level.
Tenant Middleware
Every HTTP request passes through our tenant middleware, which reads the authenticated user's organisation and sets it as the request context. All database queries in that request automatically scope to that organisation.
Testing for Isolation
Our test suite includes specific isolation tests that verify, for every major feature, that Organisation A's data cannot be accessed from Organisation B's session.
Your Data, Your Control
Every school can export their complete data at any time in standard CSV format. Your data is never locked into BatchBoard.