The Fleet Management System is a multi-tenant B2B company vehicle-pool platform.
- Each company has its own employees, vehicles, holds, trips and locations.
- Strict company scoping — users only see their own company's data, except Super Admin.
- This is not a public car-rental app.
- Manage companies
- Company setup
- Create / edit company admins
- Global oversight
- Access to all tenants
Landing: Super Admin Dashboard
- Manage employees
- Manage vehicles
- Employee pool
- Holds, live trips, incidents
- Vehicle locations
Landing: Company Dashboard
- View available vehicles
- Hold → unlock → trip
- End trip → summary
- My trips history
Landing: Employee Portal
No cross-tenant data access, except Super Admin
SUPER ADMIN FLOW
COMPANY ADMIN / OPS FLOW
5 Company admin / ops flow
EMPLOYEE MOBILE PORTAL FLOW · existing flow, enhanced with company context
GOVERNANCE
7 Non-negotiable integrity rules
- 1Every entity is scoped to a company ID.
- 2Scope all reads by company ID.
- 3Validate company ownership on writes.
- 4Frontend filtering is not sufficient.
- 5Admin / Employee cannot access other company data. Only Super Admin is global.
- 6Show only company-owned vehicles.
- 7
shareEnabled must equal true.
- 8Status must equal "available."
- 9Validate eligibility server-side.
- 10One active hold / trip per employee.
- 11Prevent conflicting vehicle assignments.
- 12Atomic hold creation.
- 13Validate unlock, trip start and end.
- 14Completed trips cannot be modified.
- 15Role-based landing and navigation.
- 16Enforce access on every API.
- 17Prevent direct URL / API manipulation.
- 18Force actions to remain within Ops scope.
- 19Admin / Ops only see their own company.
- 20Vehicle locations are tenant-isolated.
- 21Incidents are tenant-isolated.
- 22All operational actions are audited.
REFERENCE
- Login
- Dashboard
- Companies (list / create / detail)
- Company admins (list / create)
- Global oversight
- Login · Dashboard
- Employees (list / create / detail)
- Vehicles (list / create / detail / location)
- Employee pool
- Operations (holds / live trips / history)
- Incidents · Vehicle locations
- Login · Employee home
- Available vehicles
- Clearance → hold → unlock
- Live trip → end trip → summary
- My trips