Skip to main content

GrantGridPermissionsInput

Grant runtime permission keys directly to one user on one grid (writes the grid_user_direct_grants input table).

input GrantGridPermissionsInput {
appId: BigInt!
gridId: BigInt!
userId: BigInt!
permissionKeys: [String!]!
expiresAt: DateTime
}

Fields

GrantGridPermissionsInput.appId ● BigInt! non-null scalar

The app (tenant) that owns the grid.

GrantGridPermissionsInput.gridId ● BigInt! non-null scalar

The grid to grant on.

GrantGridPermissionsInput.userId ● BigInt! non-null scalar

The user receiving the grant. Must already have active app access for this app.

GrantGridPermissionsInput.permissionKeys ● [String!]! non-null scalar

Runtime permission key strings to grant (e.g. update_voxel_data). Each must be a known key in runtime_permissions, unique, and at most 64 chars.

GrantGridPermissionsInput.expiresAt ● DateTime scalar

Optional expiry; after this time the grant stops contributing to the effective ACL. Null/omitted means it never expires.

Member Of

grantGridPermissions mutation