module Abilities
  class Everyone
    include CanCan::Ability

    def initialize(user)
      can [:read, :map], Debate
      can [:read, :map, :summary], Proposal
      can :read, Comment
      can :read, SpendingProposal
      can :read, LegacyLegislation
      can :read, User
      can [:search, :read], Annotation
      can :new, DirectMessage
      can [:read, :draft_version_publication, :allegations, :final_version_publication], Legislation::Process
      can [:read], Legislation::DraftVersion
    end
  end
end

module Abilities
  class Everyone
    include CanCan::Ability

    def initialize(user)
      can [:read, :map], Debate
      can [:read, :map, :summary], Proposal
      can :read, Comment
      can :read, SpendingProposal
      can :read, LegacyLegislation
      can :read, User
      can [:search, :read], Annotation
      can :new, DirectMessage
      can [:read, :draft_publication, :allegations, :final_version_publication], Legislation::Process
      can [:read], Legislation::DraftVersion
    end
  end
end

Fix abilities to see the draft publication section
Fix abilities to see the draft publication section
