For the complete documentation index, see llms.txt. This page is also available as Markdown.

addWhatDataObjectsToAccessControl

WARNING - DEPRECATED

Please use updateAccessControl with whatDataObjectsToAdd.

Add new WHAT items to the given access control. When a data object already exists in the WHAT list and overridePermissions is false, the permissions are merged. If overridePermissions is true, the permissions are replaced.

addWhatDataObjectsToAccessControl(
  id: ID!
  overridePermissions: Boolean
  toAdd: [AccessControlWhatInputDO!]
): AccessControlResult! @deprecated

Arguments

id ● ID! non-null scalar

overridePermissions ● Boolean scalar

toAdd ● [AccessControlWhatInputDO!] list input

Type

AccessControlResult union

Last updated

Was this helpful?