> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: AccessInspector

> Model inspection, through the caller's own authorized reads.

[server](/api/modules/server).AccessInspector

Model inspection, through the caller's own authorized reads.

## Methods

### explain

▸ **explain**(`request`): `Promise`\<[`AccessExplanation`](/api/modules/server#accessexplanation)>

Why each permission on the object is held or refused.

#### Parameters

| Name | Type |
| :- | :- |
| `request` | [`InspectionRequest`](/api/modules/server#inspectionrequest) |

#### Returns

`Promise`\<[`AccessExplanation`](/api/modules/server#accessexplanation)>

***

### simulate

▸ **simulate**(`request`): `Promise`\<[`AccessExplanation`](/api/modules/server#accessexplanation)>

The same, as if the object's row held `changes` too: a draft check of
conditions and restrictions. It authorizes nothing.

#### Parameters

| Name | Type |
| :- | :- |
| `request` | [`InspectionRequest`](/api/modules/server#inspectionrequest) & \{ `changes`: `Record`\<`string`, [`Value`](/api/modules/values#value)>  } |

#### Returns

`Promise`\<[`AccessExplanation`](/api/modules/server#accessexplanation)>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.