Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Permissions-Policy and Document-Policy support #65

Closed

Conversation

tunetheweb
Copy link
Contributor

Feature-Policy has been split into Permissions-Policy and Document-Policy. Although these are not supported in browsers yet, it is likely that they will be at some point in the not too distant future.

In addition the popular SecurityHeaders.com tool has started flagging when Permissions-Policy header is not being sent which is likely to increase interest in publishing a Permissions-Policy alongside the original Feature-Policy header.

This PR adds support for both headers, though does not set them by default, nor does it retire Feature-Policy.

@coveralls
Copy link

coveralls commented Sep 7, 2020

Coverage Status

Coverage remained the same at 100.0% when pulling 000e559 on bazzadp:permissions-policy into 0040966 on GoogleCloudPlatform:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 837d5ee on bazzadp:permissions-policy into 0040966 on GoogleCloudPlatform:master.

@Jonakemon
Copy link

Would love to see this being added; do you know of anyone that could merge this @bazzadp ?

@Jonakemon
Copy link

Jonakemon commented May 29, 2021

I see @theacodes has writing access to this repo; would you be up for reviewing this PR? It's an important feature for Flask Talisman to stay up to date on the newest security related headers!

I took a quick look, and to me the implementation of @bazzadp is pretty neat. I think it's ready to merge as it is!

@tunetheweb
Copy link
Contributor Author

Closing this as this has been merged and merged into the fork discussed in #78 and released in v8.0.0, which has been uploaded to PyPi

@tunetheweb tunetheweb closed this Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants