Isolation and access
See how your workspace is kept apart at the database and who can do what inside it.
An application filter is a line somebody can forget to write. Isolation lives in the database instead, so a missed filter cannot return another organisation's rows.
Rows and files#
- Every table that holds a workspace's data carries an organisation id. A session sees only the rows of organisations it belongs to.
- Every stored file path begins with the owning organisation's id and the storage rules apply the same checks.
- Postgres checks membership and role on every read and write, including the ones nobody thought about.
Who gets in#
There is no public way in. A workspace is set up by Kabaido with the company that uses it and a person joins only by an invitation sent to their address.
Roles#
Roles, lowest to highest: viewer, operator, sales, engineer, admin and owner. Each includes everything below it, except that an operator never sees a price, a cost or a margin. What each can do is on Signing in and people.
- The last owner cannot be demoted or removed and only an owner makes another owner.
- One sign in can belong to several organisations with a role in each. A role in one grants nothing in another.
- Removing a person ends their access at once, including their AI assistant's connections.
A store's buyers#
A buyer who signs in to a Commerce store is a separate kind of user and never a member of your organisation.
| Rule | What it means |
|---|---|
| Never a member | A buyer has no membership, so every member check in the database is false for them. |
| Their own rows only | One buyer never sees another buyer's rows, in the same organisation or another. |
| No internal columns | Cost, internal notes and storage paths are never served to a buyer. |
| Prices worked out again | A browser names a product and a quantity, never a price. The price is worked out again at the order. |
Work outside a session#
A few server jobs act outside a person's session: payment events, imports, scheduled jobs, the keyed API, the connector and token links such as a customer's quote page. Each is held to one named organisation or one record and the elevated key never reaches a browser.
The record#
Role changes, invitations and people joining are recorded as they happen. Every call an AI assistant makes through the connector is recorded with the person it acted for.
Updated Something missing or unclear? Tell us