- Where
- Everywhere in the product
- Who can do it
- Everyone
In detail
Many companies share the platform, and some of them compete with each other. Keeping their data apart is designed into how the data is stored, not left to each screen remembering to filter.
How it works
- A schema per company. Parcels, runs, drivers, vehicles, customers, prices, messages, invoices and the audit log of one company are all in its own schema.
- One company per request. A console session names its company, an API key is matched to its company from a fingerprint of the key, and a public tracking page finds the company from the tracking number. That company is fixed before any query runs.
- No company filter to forget. Queries name no company at all: they can only see the schema the request was pointed at.
- Logins are per company. A person signed in to one company is a stranger to every other company's pages and data.
What is shared across the platform
A few small indexes sit outside the company schemas so that a request can find its company: which email addresses have a login where, which tracking number belongs to which company, and fingerprints of API keys. Tracking numbers are unique across the whole platform for the same reason.
What the platform's team sees
The platform's own admin screens show each company's name, plan, status and usage counts, and its owners' names, email addresses and when they last signed in. They do not show your parcels, customers or messages. Actions the team takes on your workspace, such as extending a trial or changing a plan, appear in your audit log.