94050d7dde
As most of the PermissionsPolicy is defined in ActionDispatch::HTTP::PermissionsPolicy, it should include most of the documentation. ActionController::Metal::PermissionsPolicy should describe controller overrides. This PR also makes the documentation more similar to the ActionDispatch::HTTP::ContentSecurityPolicy documentation. Note: The Feature-Policy header has been renamed to Permissions-Policy in the specification. The Permissions-Policy requires a different implementation and isn't yet supported by all browsers. To avoid having to rename this middleware in the future we use the new name for the middleware but keep the old header name in the documentation for now. Co-authored-by: Jonathan Hefner <jonathan@hefner.pro> |
||
---|---|---|
.. | ||
api | ||
metal | ||
railties | ||
api.rb | ||
base.rb | ||
caching.rb | ||
form_builder.rb | ||
log_subscriber.rb | ||
metal.rb | ||
railtie.rb | ||
renderer.rb | ||
template_assertions.rb | ||
test_case.rb |