Skip to main content

GridUserPermissions

A user's effective (materialized) runtime permissions on one grid: the flattened union of direct + group grants, with expired grants excluded, that Buddy enforces.

type GridUserPermissions {
appId: BigInt!
gridId: BigInt!
userId: BigInt!
permissionKeys: [String!]!
}

Fields

GridUserPermissions.appId ● BigInt! non-null scalar

The app (tenant) that owns the grid.

GridUserPermissions.gridId ● BigInt! non-null scalar

The grid these permissions apply to.

GridUserPermissions.userId ● BigInt! non-null scalar

The user these permissions belong to.

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

The effective runtime permission key strings the user currently holds on this grid.

Returned By

grantGridPermissions mutation ● gridUserPermissions query ● revokeGridPermissions mutation