Scale Intelligence■ Docs
Docs / The model / Grant

Grant.

Who may do what, where, in which mode, within which limits

Figure 1Grantspecified
GRANTdefinition at tenant scopewhoGrantHoldernamed one by one, by what they do, or by reachpermissions[Permission]the access scope the permissions were named by, where they were named by reachreachAccessScopeoptionalwhereScopedata_groupidoptionalmodeenum:read only|propose|act|full a…limitsGrantLimitsfor full autonomy: who, explicitly, for this one scopeturned_on_byCalleroptionalends_attimeoptionalGRANTHOLDERthrough whoPERMISSIONthrough permissionsACCESSSCOPEthrough reachSCOPEthrough whereGRANTLIMITSthrough limitsCALLERthrough turned_on_by
Grant is a definition at tenant scope. The drawing shows its fields and the objects that they point at.
kind
definition
scope
tenant
key
who, what and where, versioned
store
postgres
family
people

Fields#

fieldtyperequirednote
whoGrantHolderyes
permissionsPermissionyesnamed one by one, by what they do, or by reach
reachAccessScopenothe access scope the permissions were named by, where they were named by reach
whereScopeyes
data_groupidno
modeone of read only | propose | act | full autonomyyes
limitsGrantLimitsyes
turned_on_byCallernofor full autonomy: who, explicitly, for this one scope
ends_attimeno

Routes that use it#