Home / FleetMan / Architecture / Multi-tenant
Architecture

Multi-tenant

Strict isolation by userid. Each customer has its own tables, data, and access rules. No shared SaaS — actual database-level separation.

{table}_{userid} tables Fine-grained RBAC Partner channel
Enterprise architecture

What Multi-tenant does

Schema

Per-userid tables

Technical tables like gpslog_207, events_207. Zero cross-leak risk.

Filtres

Forced SQL scope

Every query is auto-scoped by userid through FormDefaultQuery.

RBAC

Fine-grained roles

Admin, manager, operator, read-only. Per-module and per-plugin granularity.

Partenaire

Partner mode

A partner manages its own customers. Isolated branding, domain, SMS signature.

Auth

Multi-channel auth

Login/password, API token, persistent cookie, OTP — all multi-tenant.

Audit

Audit logs

Every sensitive action logged with userid, IP, timestamp, payload.

Architecture

How it integrates

Multi-tenant scope is enforced at the infrastructure level rather than at the app level:

// Toute requête utilisateur passe par FormDefaultQuery
FormDefaultQuery fdq = new FormDefaultQuery(xVars);
int userId = fdq.userIDi;  // injecté depuis la session
// La table cible est suffixée userid
String table = "gpslog_" + userId;
Technical specs
Isolationphysical table per userid
Authtoken + cookie + OTP
Partenairesacc_pt / acc_spt / acc_pti
Audittelnet admin port 20000
Backupper userid
Exportfull per-customer

Try Multi-tenant on FleetMan

Bundled with FleetMan — activation is instant. Contact your account manager or start a free trial.