Sha256: db7e1e58682ef00e58743191b15e160286a42ced12a7e401e9d74749d3f8d674

Contents?: true

Size: 264 Bytes

Versions: 27

Compression:

Stored size: 264 Bytes

Contents

module Katello
  module Authorization::Pool
    extend ActiveSupport::Concern

    include Authorizable

    module ClassMethods
      def readable
        where(:subscription_id => Katello::Subscription.authorized(:view_subscription))
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

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