> For the complete documentation index, see [llms.txt](https://developer.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.collibra.com/api/graphql/data-access/mutations/add-what-data-objects-to-access-control.md).

# 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.

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

### Arguments

#### id ● [`ID!`](/api/graphql/data-access/scalars/id.md) non-null scalar <a href="#id" id="id"></a>

#### overridePermissions ● [`Boolean`](/api/graphql/data-access/scalars/boolean.md) scalar <a href="#override-permissions" id="override-permissions"></a>

#### toAdd ● [`[AccessControlWhatInputDO!]`](/api/graphql/data-access/input-types/access-control-what-input-do.md) list input <a href="#to-add" id="to-add"></a>

### Type

#### [`AccessControlResult`](/api/graphql/data-access/unions/access-control-result.md) union
