module Subscriptions
  class TicketProductRevenueConfigPolicy < ApplicationPolicy
    def index?
      allowed?
    end

    def edit?
      allowed?
    end

    def update?
      allowed?
    end

    def new?
      allowed?
    end

    def delete?
      allowed?
    end

    def create?
      allowed?
    end

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