class SponsorPolicy < ApplicationPolicy

  def create?
    super || (user && user.committees_include_any?(Sponsor.sponsor_admins))
  end

  def update?
    create?
  end
end

class SponsorPolicy < ApplicationPolicy

  def index?
    create?
  end

  def show?
    create?
  end

  def create?
    super || (user && user.committees_include_any?(Sponsor.sponsor_admins))
  end

  def update?
    create?
  end
end

Hide sponsors page from !sponsor_admins
Hide sponsors page from !sponsor_admins
