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
commit49353be9f13948b42f83e517fa5582b4fd752e20 (patch)
tree89ed52918fba5b9968adbc7ace331cbe9d3463e8 /app
parent5db1301d7a9046bd67175cf1995eefd2587ce60e (diff)
Let moderators manage Emoji
Diffstat (limited to 'app')
-rw-r--r--app/policies/custom_emoji_policy.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/policies/custom_emoji_policy.rb b/app/policies/custom_emoji_policy.rb
index a8c3cbc73..0d73e9a15 100644
--- a/app/policies/custom_emoji_policy.rb
+++ b/app/policies/custom_emoji_policy.rb
@@ -6,15 +6,15 @@ class CustomEmojiPolicy < ApplicationPolicy
   end
 
   def create?
-    admin?
+    staff?
   end
 
   def update?
-    admin?
+    staff?
   end
 
   def copy?
-    admin?
+    staff?
   end
 
   def enable?
@@ -26,6 +26,6 @@ class CustomEmojiPolicy < ApplicationPolicy
   end
 
   def destroy?
-    admin?
+    staff?
   end
 end