Skip to content
Client OS
Menu

Feature

Organizations and roles

Every record is scoped to an Organization, and every caller holds a Role in it.

An Organization owns its data: every user, service account and record belongs to one or more organizations. An Org member holds exactly one Role: org:admin, org:contributor or org:viewer. ci:agent covers automation.

The API checks org membership in the application layer on every request, not with Postgres row-level security. In the clientos routes, reading needs org:viewer or above, writing needs org:contributor, and deleting needs org:admin.