about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorDaggertooth <dev@monsterpit.net>2018-04-15 01:49:24 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:20 -0500
commit28724df663664fdba44fc0a54923969dbb6a05b5 (patch)
treecf1a4dadc6433471421ddd59dbe00384cdde6a40 /app
parent49353be9f13948b42f83e517fa5582b4fd752e20 (diff)
Let moderators manage blocklist
Diffstat (limited to 'app')
-rw-r--r--app/policies/domain_block_policy.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/policies/domain_block_policy.rb b/app/policies/domain_block_policy.rb
index 47c0a81af..8af666b8f 100644
--- a/app/policies/domain_block_policy.rb
+++ b/app/policies/domain_block_policy.rb
@@ -2,18 +2,18 @@
 
 class DomainBlockPolicy < ApplicationPolicy
   def index?
-    admin?
+    staff?
   end
 
   def show?
-    admin?
+    staff?
   end
 
   def create?
-    admin?
+    staff?
   end
 
   def destroy?
-    admin?
+    staff?
   end
 end