blob: 768afc3e90bb9d17bf253a4cddaef4344a5147ed (
plain) (
tree)
|
|
# 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
|