---
title: optionalPermissions
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebextension/optionalpermissions
---

# optionalPermissions

The set of permissions that the extension may need for optional functionality.

## Declaration

```swift
var optionalPermissions: Set<WKWebExtension.Permission> { get }
```

## Discussion

Discussion These permissions can be requested by the extension at a later time.
