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

    def grant_tokens?
      allowed?
    end

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