module Clue
  class ChatPropertyPolicy < ApplicationPolicy
    def index?
      true
    end

    def edit?
      allowed?
    end

    def update?
      allowed?
    end

    def allowed?
      user.permitted? BeefCake::Permission.for(:chat_properties)
    end
  end
end
