Let moderators manage Emoji

staging
Daggertooth 2018-04-15 01:49:24 -05:00 committed by multiple creatures
parent 5db1301d7a
commit 49353be9f1
1 changed files with 4 additions and 4 deletions

View File

@ -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