Skip to main content

grantGridPermissions

Grant one or more runtime permission keys directly to a single user on a grid (writes the grid_user_direct_grants input table), then recompute that user's materialized effective ACL on the grid. The target user must already have active app access (otherwise this fails). Requires app-admin ('manage_apps'). Returns the user's full effective permission-key set on the grid. To grant by group/role instead of per-user, use assignGroupToGrid.

grantGridPermissions(
input: GrantGridPermissionsInput!
): GridUserPermissions!

Arguments

grantGridPermissions.input ● GrantGridPermissionsInput! non-null input

The app, grid, and target user, the runtime permission keys to grant, and an optional expiry timestamp.

Type

GridUserPermissions object

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