about summary refs log blame commit diff
path: root/app/policies/custom_emoji_policy.rb
blob: 768afc3e90bb9d17bf253a4cddaef4344a5147ed (plain) (tree)
1
2
3
4
5
6
7
8
9


                                           
                   

             
                   

             
          

           
                   









              
          
     
# frozen_string_literal: true

class CustomEmojiPolicy < ApplicationPolicy
  def index?
    user_signed_in?
  end

  def create?
    user_signed_in?
  end

  def update?
    staff?
  end

  def copy?
    user_signed_in?
  end

  def enable?
    staff?
  end

  def disable?
    staff?
  end

  def destroy?
    staff?
  end
end