Bug 1824959
Summary: | [RFE] [sat-e-492] Activation Key repository list should be in 'Show All' mode by default with Organization Env Access aka Simple Content Access | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Mike McCune <mmccune> | ||||
Component: | Subscription Management | Assignee: | Partha Aji <paji> | ||||
Status: | CLOSED ERRATA | QA Contact: | Cole Higgins <chiggins> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.7.0 | CC: | egolov, ehelms, jlenz, jturel, paji, rjerrido | ||||
Target Milestone: | 6.9.0 | Keywords: | FutureFeature, SubscriptionExperience, Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | tfm-rubygem-katello-3.17.0-0 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-04-21 13:12:29 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Mike McCune
2020-04-16 18:10:55 UTC
Created attachment 1679455 [details]
show-all.png
Users with Simple Content Access are still adding subscriptions to Activation Keys because they are not aware that they need to click 'show all' to view the available repositories. The filtering makes sense in a subscription focused mode, but when SCA is on, the requirement to 'Show All' just gets in the way and it should be that way by default. There's an API parameter for an Activation Key's product content called 'content_access_mode_all' which we can specify rather than using 'Show All'. This way the LCE and CV will be respected which is the behavior of SCA. That param was added a while back and it may have regressed since I do see references to it in the UI code but we aren't sending it. We can do the same for Content Hosts too (may be working already, but we should verify that). https://github.com/Katello/katello/blob/b226cf98a8e16c338cda6d4117d690029d323657/app/controllers/katello/api/v2/activation_keys_controller.rb#L148 https://github.com/Katello/katello/blob/b226cf98a8e16c338cda6d4117d690029d323657/app/controllers/katello/api/v2/host_subscriptions_controller.rb#L172 Created redmine issue https://projects.theforeman.org/issues/30592 from this bug If the org has SCA I am planning to 1) Always fetch the repo sets with content_access_mode_all = true 2) Hide the 'Show All' on activations key page. Does that sound adequate ? ^^ That will result in the following behavior: In SCA mode: - 'Show All' checkbox is not displayed - Always behave as if the checkbox were checked In non-SCA mode, no change. I'm +1 to this Upstream bug assigned to paji Upstream bug assigned to paji Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30592 has been resolved. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Satellite 6.9 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:1313 |