redhat_access 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/redhat_access/telemetry/look_ups.rb +2 -2
- data/lib/redhat_access/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ba92f4f84078298eddd26c5b54fbb4b0f75f768
|
4
|
+
data.tar.gz: c4ca95d1ebefda0a1e609354396a75facfd7593e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81ee3d3a8538e91732e0535599f1654db68d5b97a18f7522c35718db5e3776e937f0583540e1493284b7bc71428350e027fb32e3be4bedb5c0fb74176bb97d9f
|
7
|
+
data.tar.gz: ff599f2ec369ac54c7aaa0157e82577bea72057ad297fcdd4aa295c4e7a7be17d01e7f29da0cbaba3dc7f25cd8859e3ef22857ac92a30f13933ea41c363f8f17
|
@@ -168,8 +168,8 @@ module RedhatAccess
|
|
168
168
|
|
169
169
|
def get_content_hosts(org)
|
170
170
|
if org
|
171
|
-
|
172
|
-
|
171
|
+
host_ids = ::Host::Managed.authorized('view_hosts', ::Host::Managed).where({:organization_id => org.id}).pluck(:id)
|
172
|
+
Katello::Host::SubscriptionFacet.where(:host_id => host_ids).pluck(:uuid)
|
173
173
|
else
|
174
174
|
raise(RecordNotFound, 'Organization not found or invalid')
|
175
175
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redhat_access
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lindani Phiri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redhat_access_lib
|