aboutsummaryrefslogtreecommitdiff
path: root/config/initializers/permissions_policy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/permissions_policy.rb')
-rw-r--r--config/initializers/permissions_policy.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/initializers/permissions_policy.rb b/config/initializers/permissions_policy.rb
new file mode 100644
index 0000000..00f64d7
--- /dev/null
+++ b/config/initializers/permissions_policy.rb
@@ -0,0 +1,11 @@
+# Define an application-wide HTTP permissions policy. For further
+# information see https://developers.google.com/web/updates/2018/06/feature-policy
+#
+# Rails.application.config.permissions_policy do |f|
+# f.camera :none
+# f.gyroscope :none
+# f.microphone :none
+# f.usb :none
+# f.fullscreen :self
+# f.payment :self, "https://secure.example.com"
+# end