Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 761 Bytes

permissionsPolicyDirectiveSupport.md

File metadata and controls

23 lines (16 loc) · 761 Bytes

permissionsPolicyDirectiveSupport

Default

{
	permissionsPolicyDirectiveSupport: ["proposed", "standard"],
}

Description

The Permissions-Policy header has had a bit of a rocky history, and as such the list of features/permissions has changed a lot. To help manage this, next-safe provides 4 different sets of directive support.

To include a list of directives, add it to the permissionsPolicyDirectiveSupport array. For example, to add support for experimental directives:

{
	permissionsPolicyDirectiveSupport: ["proposed", "standard", "experimental"],
}

See this W3C documentation for more information about what directives are supported: https://github.com/w3c/webappsec-permissions-policy/blob/main/features.md