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

    def create?
      allowed?
    end

    def destroy?
      allowed?
    end

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