about summary refs log tree commit diff
path: root/app/policies/instance_policy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/policies/instance_policy.rb')
-rw-r--r--app/policies/instance_policy.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/policies/instance_policy.rb b/app/policies/instance_policy.rb
index a73823556..801ca162e 100644
--- a/app/policies/instance_policy.rb
+++ b/app/policies/instance_policy.rb
@@ -8,4 +8,8 @@ class InstancePolicy < ApplicationPolicy
   def show?
     admin?
   end
+
+  def destroy?
+    admin?
+  end
 end