This file is indexed.

/usr/lib/ruby/vendor_ruby/diaspora_federation/validators/signed_retraction_validator.rb is in ruby-diaspora-federation 0.1.4-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
module DiasporaFederation
  module Validators
    # This validates a {Entities::SignedRetraction}.
    # @deprecated The {Entities::RelayableRetraction} will be replaced with {Entities::Retraction}.
    class SignedRetractionValidator < Validation::Validator
      include Validation

      rule :target_guid, :guid
      rule :target_type, :not_empty
      rule :target, :not_nil

      rule :author, %i(not_empty diaspora_id)
    end
  end
end