redhat_access 2.1.9 → 2.1.10
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 +1 -2
- data/lib/redhat_access/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f2d7895af2ff247048b38149cfb5d71a001368eaee189077516fa1afb4b4428
|
4
|
+
data.tar.gz: 59ddd32c84310572267af5867fa0262d0ef8bdb5eea5ddfe79bdbe0a40410651
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7af6fcd285fc8ca428bc6c6b76f7691bb55cc8bc72e9e5cd123ecf8e7d97aecb99057c738087d814ae3e65dbfc994e143d15a03643ab4f9eedb66dbd31b7cb4
|
7
|
+
data.tar.gz: a0e451a84bbbb4619ee4b689142e74f68a4f8a29feb435897910c1217dcd14c46e701f384cb5e51aa97781a03f6d351e57172593f76efdbd447412d12548a2dd
|
@@ -185,8 +185,7 @@ module RedhatAccess
|
|
185
185
|
|
186
186
|
def get_content_hosts(org)
|
187
187
|
if org
|
188
|
-
|
189
|
-
Katello::Host::SubscriptionFacet.where(:host_id => host_ids).pluck(:uuid)
|
188
|
+
::Host::Managed.authorized('view_hosts', ::Host::Managed).joins(:subscription_facet).rewhere({:organization_id => org.id}).pluck("katello_subscription_facets.uuid")
|
190
189
|
else
|
191
190
|
raise(RecordNotFound, 'Organization not found or invalid')
|
192
191
|
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.1.
|
4
|
+
version: 2.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lindani Phiri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redhat_access_lib
|