about summary refs log tree commit diff
path: root/app/policies/relay_policy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/policies/relay_policy.rb')
-rw-r--r--app/policies/relay_policy.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/policies/relay_policy.rb b/app/policies/relay_policy.rb
new file mode 100644
index 000000000..bd75e2197
--- /dev/null
+++ b/app/policies/relay_policy.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class RelayPolicy < ApplicationPolicy
+  def update?
+    admin?
+  end
+end