# DenoAppResource.withDenoAllowAll

- Module: [Aspire.Hosting.JavaScript](/reference/api/typescript/aspire.hosting.javascript.md)
- Defined on: [DenoAppResource](/reference/api/typescript/aspire.hosting.javascript/denoappresource.md)
- Version: `13.6.0`
- Kind: `method`

Controls the blanket `-A`/`--allow-all` grant.

## Definition

```typescript
interface DenoAppResource {
  // ... omitted for brevity
  withDenoAllowAll(enabled?: boolean): DenoAppResource;
}
```

## Signature

```typescript
withDenoAllowAll(enabled?: boolean): DenoAppResource
```

## Parameters

- `enabled` (`boolean`) `optional` `= True`

## Returns

[DenoAppResource](/reference/api/typescript/aspire.hosting.javascript/denoappresource.md) `builder`

## Defined on

- [DenoAppResource](/reference/api/typescript/aspire.hosting.javascript/denoappresource.md) -- `handle`
