Adventure Labs Logo
Scout Docs

Abilities

Platform-wide permission keys for herd role matrices

Column NameData TypeConstraints
idbigintNOT NULL
keytextNOT NULL, unique
descriptiontext
is_systembooleanDEFAULT false NOT NULL
inserted_attimestamptzNOT NULL

System keys (is_system = true) are the ones RLS checks; the full map from key to tables is in Schemas. content.read / content.write remain in the catalog as deprecated grouping keys that no policy consults. Custom abilities may be added by platform superadmins (is_system = false) and are app-level groupings only.

Security Policies (RLS)

RLS enabled. Herd scope: Not herd-scoped.

Operationhas_herd_ability ability keyOther paths
SELECT—All authenticated users (USING (true))
INSERT—Platform superadmin; is_system = false
UPDATE—Platform superadmin; is_system = false
DELETE—No user policy

Platform superadmin: FOR ALL bypass where defined.

No has_herd_ability on this catalog table.

On this page