Who can run what: organisations, grants and the fifteen-minute token

Tenancy is a path, not a filter

Page 3 of 4

Everything an application writes goes under a path shaped by the tenancy: environment, then organisation, then application, then instance, then the piece of work. That shape recurs everywhere — in the object store, in the way results are addressed, in the way a client mirrors them locally.

This matters more than it sounds. Isolation enforced by a WHERE org_id = ? in every query is isolation that fails the first time somebody forgets a clause. Isolation enforced by the path a verified identity resolves to is isolation that has nowhere to leak: there is no query to forget, because the identity decides which prefix exists at all.

Used in