Scale Intelligence■ Docs
Docs / The model / Permission

Permission.

The smallest thing that can be allowed: one verb on one kind of thing; generated, never written by hand

Figure 1Permissionspecified
PERMISSIONrow at platform scopethe reading's or the kind of action's own name, which a grant and an access scope namenametextthe family of the call: read, ask, act, work, session, filesverbtextthe kind the call giveskindKindthe reading or the kind of action that brought itfrom_rowtextKINDthrough kind
Permission is a row at platform scope. The drawing shows its fields and the objects that they point at.
kind
row
scope
platform
key
the verb and the kind
store
postgres
family
people

Fields#

fieldtyperequirednote
nametextyesthe reading’s or the kind of action’s own name, which a grant and an access scope name
verbtextyesthe family of the call: read, ask, act, work, session, files
kindKindyesthe kind the call gives
from_rowtextyesthe reading or the kind of action that brought it

Routes that use it#

No route takes or returns Permission directly. The record holds it, and the objects that point at it reach it.