Skip to content

CAPABILITY_HIERARCHY

const CAPABILITY_HIERARCHY: readonly ["/doc/admin", "/doc/write", "/doc/read"]

Defined in: packages/core/src/capabilities.ts:26

All document capabilities in order of decreasing privilege. Note: /doc/history is deliberately excluded because it is orthogonal to the read/write/admin hierarchy. History access is independent — a user can have read+history or read without history.