AssignGroupToGridInput
Grant runtime permission keys to a group (optionally one role) on a grid (writes the grid_group_grants input table).
input AssignGroupToGridInput {
appId: BigInt!
gridId: BigInt!
groupId: BigInt!
groupRoleId: BigInt
permissionKeys: [String!]!
expiresAt: DateTime
}
Fields
AssignGroupToGridInput.appId ● BigInt! non-null scalar
The app (tenant) that owns the grid.
AssignGroupToGridInput.gridId ● BigInt! non-null scalar
The grid to grant on.
AssignGroupToGridInput.groupId ● BigInt! non-null scalar
The group whose members receive the grant. Must belong to the same app.
AssignGroupToGridInput.groupRoleId ● BigInt scalar
Optional: scope the grant to members holding this group role. Omit to grant to all members of the group.
AssignGroupToGridInput.permissionKeys ● [String!]! non-null scalar
Runtime permission key strings to grant to the group/role. Each must be a known key in runtime_permissions, unique, and at most 64 chars.
AssignGroupToGridInput.expiresAt ● DateTime scalar
Optional expiry; after this time the grant stops contributing to the effective ACL. Null/omitted means it never expires.
Member Of
assignGroupToGrid mutation