redhat_access 2.2.6 → 2.2.7
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: b740339358ef572af5ca6bc1df7226e0b00eff8ab6e3740d3715b8a07af199ea
|
4
|
+
data.tar.gz: b996a6399e8a2c120ea0e7958f8e35eb8ef243c2346e121b890a809c53c02edf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85e504f465a34208d70866c1776c49dab33cf1d362b4406d8a071a51da8333a2d88d8b3278de9aa2b74ab450badf54a1459b4e0f3435f7966bf4a0a7a4a99f65
|
7
|
+
data.tar.gz: 0e691f651455847d24ac38e46288215eef9c6fcd2bec624ab2f024c38dcb3a6b4eefa6579207794ec1e96a52c4b3d91006eb94ee58ae82d3ff3f96020f015336
|
@@ -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.2.
|
4
|
+
version: 2.2.7
|
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
|