Sha256: 104b26c8ec665ced3d5cd4a37776df8219959871d4dd0a3df1d249406f47a735

Contents?: true

Size: 313 Bytes

Versions: 22

Compression:

Stored size: 313 Bytes

Contents

module Katello
  module Authorization::ContentViewVersion
    extend ActiveSupport::Concern

    module ClassMethods
      def readable
        view_ids = ContentView.readable.collect { |v| v.id }
        joins(:content_view).where("#{Katello::ContentView.table_name}.id" => view_ids)
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
katello-3.1.0.1 app/models/katello/authorization/content_view_version.rb
katello-3.1.0 app/models/katello/authorization/content_view_version.rb
katello-3.1.0.rc2.1 app/models/katello/authorization/content_view_version.rb
katello-3.0.2 app/models/katello/authorization/content_view_version.rb
katello-2.4.5 app/models/katello/authorization/content_view_version.rb
katello-3.1.0.rc1 app/models/katello/authorization/content_view_version.rb
katello-3.0.1 app/models/katello/authorization/content_view_version.rb
katello-2.4.4 app/models/katello/authorization/content_view_version.rb
katello-3.0.0 app/models/katello/authorization/content_view_version.rb
katello-2.4.3 app/models/katello/authorization/content_view_version.rb
katello-3.0.0.rc7 app/models/katello/authorization/content_view_version.rb
katello-3.0.0.rc5 app/models/katello/authorization/content_view_version.rb
katello-2.4.2 app/models/katello/authorization/content_view_version.rb
katello-3.0.0.rc4 app/models/katello/authorization/content_view_version.rb
katello-3.0.0.rc3 app/models/katello/authorization/content_view_version.rb
katello-3.0.0.rc2 app/models/katello/authorization/content_view_version.rb
katello-3.0.0.rc1 app/models/katello/authorization/content_view_version.rb
katello-2.4.1 app/models/katello/authorization/content_view_version.rb
katello-2.4.0 app/models/katello/authorization/content_view_version.rb
katello-2.4.0.rc3 app/models/katello/authorization/content_view_version.rb