diff options
author | Daggertooth <dev@monsterpit.net> | 2018-04-15 01:49:24 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:20 -0500 |
commit | 49353be9f13948b42f83e517fa5582b4fd752e20 (patch) | |
tree | 89ed52918fba5b9968adbc7ace331cbe9d3463e8 /app/policies | |
parent | 5db1301d7a9046bd67175cf1995eefd2587ce60e (diff) |
Let moderators manage Emoji
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/custom_emoji_policy.rb | 8 |
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 |