ApiSessionFunctions
Function: grantTerms()
function grantTerms(access, spaceIds): NoteTerms;Defined in: packages/core/src/session/connect.ts:255
The terms of the note a grant carries, for these spaces. Writing is every
command; records is records only, for a key the account trusts less: it
can't define collections, change who may do what, or write for the
account (identity/abilities.ts).
Parameters
| Parameter | Type |
|---|---|
access | "read" | "records" | "write" |
spaceIds | readonly string[] | "all" |