Sha256: e765aefddfad50b85251ed963d0f7e5fe5bf73968d0db44494f29e70aa660ecc

Contents?: true

Size: 343 Bytes

Versions: 181

Compression:

Stored size: 343 Bytes

Contents

module Katello
  module Concerns
    module AuditSearch
      extend ActiveSupport::Concern

      # since this class makes User class STI, we need to provide alias for auditable_type to re-enable searching
      # audits by type = user
      def auditable_type_complete_values
        super.merge(:user => 'User')
      end
    end
  end
end

Version data entries

181 entries across 181 versions & 1 rubygems

Version Path
katello-4.14.2 app/models/katello/concerns/audit_search.rb
katello-4.15.0 app/models/katello/concerns/audit_search.rb
katello-4.15.0.rc2 app/models/katello/concerns/audit_search.rb
katello-4.15.0.rc1 app/models/katello/concerns/audit_search.rb
katello-4.14.1 app/models/katello/concerns/audit_search.rb
katello-4.14.0 app/models/katello/concerns/audit_search.rb
katello-4.14.0.rc3 app/models/katello/concerns/audit_search.rb
katello-4.14.0.rc2 app/models/katello/concerns/audit_search.rb
katello-4.14.0.rc1.1 app/models/katello/concerns/audit_search.rb
katello-4.14.0.rc1 app/models/katello/concerns/audit_search.rb
katello-4.13.1 app/models/katello/concerns/audit_search.rb
katello-4.13.0 app/models/katello/concerns/audit_search.rb
katello-4.12.1 app/models/katello/concerns/audit_search.rb
katello-4.13.0.rc1 app/models/katello/concerns/audit_search.rb
katello-4.12.0 app/models/katello/concerns/audit_search.rb
katello-4.12.0.rc3 app/models/katello/concerns/audit_search.rb
katello-4.12.0.rc2 app/models/katello/concerns/audit_search.rb
katello-4.12.0.rc1 app/models/katello/concerns/audit_search.rb
katello-4.11.1 app/models/katello/concerns/audit_search.rb
katello-4.11.0 app/models/katello/concerns/audit_search.rb