Keeping agencies apart
- Every record is tagged with the agency it belongs to, and the database refuses to show it to anyone outside that agency. This is Postgres row-level security: not a filter in our app code that a bug could skip.Built
- On every code change, automated tests sign in as different kinds of user and try to read and change another agency's records. A new table without this protection fails those checks.Built
- Someone who isn't signed in can't read any data at all.Built