Skip to main content

setRolePermissions

Upsert the permission grants on a role, replacing the matching rows. Invalidates the workspace permission cache. Per-node permission editing is Enterprise-tier: requires accord.workspace.member.update and the custom-roles Enterprise entitlement, and is rejected without it.

setRolePermissions(
input: SetRolePermissionsInput!
): SetRolePermissionsPayload

Arguments

setRolePermissions.input ● SetRolePermissionsInput! non-null input

The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.

Type

SetRolePermissionsPayload object