Bug #24822
closedSubscription Details switcher items are not filtered by organization
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1625205
On new Subscription details page, there is a switcher that allows to quickly jump to another subscription (without visiting page with list of all subscriptions in between). That switcher shows all subscriptions, including these from other organizations. See screenshot for list of subscriptions in organization and list of subscriptions available in switcher.
If the same subscription is available on two organizations, it will appear on switcher list twice - with no indication which one is from current org.
While user is able to see details of subscription from another organization, "Enabled Products" tab will display "No products are enabled." - even if there are products available.
On e.g. Subnets page, switcher displays only subnets from the same org. I believe that switcher usually shows only items from current organization and Subscriptions switcher behavior is exception.
Version-Release number of selected component (if applicable):
Satellite 6.4.0 snap 20
tfm-rubygem-katello-3.7.0.22-1.el7sat.noarch
Steps to Reproduce:
1. Create two organizations with different manifests and different products sets
2. Select one organization, Content -> Subscriptions -> any
3. Click icon with two arrows in breadcrumbs on top
Actual results:
List of subscriptions in switcher contains items from other organization, i.e. items that were not available on main Subscriptions list.
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7679 added
Updated by The Foreman Bot over 6 years ago
- Pull request https://github.com/Katello/katello/pull/7687 added
Updated by Amir Fefer over 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|a338ebf46bb5ffe38ba0ee8e7e0084a64d289f52.
Updated by Jonathon Turel over 6 years ago
- Target version changed from 931 to Katello 3.9.0
- Pull request deleted (
https://github.com/Katello/katello/pull/7679)