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

    def show?
      allowed?
    end

    def grant?
      allowed?
    end

    def allow_replay?
      allowed?
    end

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