From 0f3b01eaab82325baaf1c7a4c75a322d3c21a67f Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Tue, 18 Feb 2020 02:02:54 -0600 Subject: switch to irc-like oper behavior; require mods & admins to explicitly oper up using `fangs`/`op` bangtag or toggling defang setting in profile; auto-defang after 15 mins or with `defang`/`deop` bangtag --- app/policies/custom_emoji_policy.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/policies/custom_emoji_policy.rb') diff --git a/app/policies/custom_emoji_policy.rb b/app/policies/custom_emoji_policy.rb index 768afc3e9..74a38e47d 100644 --- a/app/policies/custom_emoji_policy.rb +++ b/app/policies/custom_emoji_policy.rb @@ -10,7 +10,7 @@ class CustomEmojiPolicy < ApplicationPolicy end def update? - staff? + can_moderate? end def copy? @@ -18,11 +18,11 @@ class CustomEmojiPolicy < ApplicationPolicy end def enable? - staff? + can_moderate? end def disable? - staff? + can_moderate? end def destroy? -- cgit