# runWithTenantBypass

**Kind:** Function

**Source:** [`atloria-monorepo/libs/database/src/lib/tenant-context.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/database/src/lib/tenant-context.ts#L43)

Run `fn` with tenant scoping explicitly bypassed. Use for a deliberate cross-org read inside a
request. If there is no active context this is a no-op passthrough.

## Signature

```ts
function runWithTenantBypass(fn: () => T): T
```

## Parameters

| Name | Type |
|---|---|
| `fn` | `() => T` |

**Returns:** `T`
