Skip to main content

trustGridAuthor

Trust one author’s active client attachments in a grid at the exact aggregate capability hash returned by gridClientMods. The caller must be currently present in the grid. Widening the author’s aggregate capabilities changes the hash and requires a new explicit trust action; attachment-level consent rows are written for compatibility.

trustGridAuthor(
appId: BigInt!
gridId: BigInt!
authorKind: PlayerCodeOwnerKind!
authorRef: BigInt!
consentCapabilityHash: String!
): Boolean!

Arguments

trustGridAuthor.appId ● BigInt! non-null scalar

App containing the grid.

trustGridAuthor.gridId ● BigInt! non-null scalar

Grid whose author bundle is being trusted.

trustGridAuthor.authorKind ● PlayerCodeOwnerKind! non-null enum

Whether the author is a USER or ORG.

trustGridAuthor.authorRef ● BigInt! non-null scalar

User id or org id of the author.

Exact authorCapabilityHash returned by the current gridClientMods query.

Type

Boolean scalar

The Boolean scalar type represents true or false.