module Abilities
  class Everyone
    include CanCan::Ability

    def initialize(user)
      can :read, Debate
      can :read, Proposal
      can :read, Legislation
      can :read, User
    end
  end
end

module Abilities
  class Everyone
    include CanCan::Ability

    def initialize(user)
      can :read, Debate
      can :read, Proposal
      can :read, Legislation
      can :read, User
      can [:search, :read], Annotation
    end
  end
end

Allow anyone to search and read annotations
Allow anyone to search and read annotations
