---
title: "shouldBypassPermissions(for:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/wkwebextensiontab/shouldbypasspermissions(for:)"
---

# shouldBypassPermissions(for:)

Called to determine if the tab should bypass host permission checks.

## Declaration

```swift
optional func shouldBypassPermissions(for context: WKWebExtensionContext) -> Bool
```

## Parameters

- `context`: The context in which the web extension is running.

## Discussion

Discussion This method allows the app to dynamically control whether a tab can bypass standard host permission checks.
