Bug 643403 - Consistent user experience about unsubscribable channels
Summary: Consistent user experience about unsubscribable channels
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Network
Classification: Retired
Component: RHN/Web Site
Version: RHN Stable
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Sebastian Skracic
QA Contact: Red Hat Network Quality Assurance
URL:
Whiteboard: US=5143
: 439026 447534 (view as bug list)
Depends On:
Blocks: 642708
TreeView+ depends on / blocked
 
Reported: 2010-10-15 14:16 UTC by Sebastian Skracic
Modified: 2011-01-14 13:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-14 13:49:02 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 644352 0 low CLOSED Consistent API user experience about unsubscribable channels 2021-02-22 00:41:40 UTC

Internal Links: 644352

Description Sebastian Skracic 2010-10-15 14:16:17 UTC
RHN org admins have powers to prevent users in their account from accessing the  content in selected channels.  While this functionality is present in RHN for a long time already, the actual message displayed to user when accessing those "hidden" channels is not consistent, ranging from "Permission Error" through "You're not authorized to see the content of this channel" to "Internal Server Error".

Affected pages:

1. System Channels page is showing the "hidden" channels as available for subscription in both "Base Sotfware Channel" and "Software Channel Subscriptions" parts.  Additionally, attempting to select those results in:

 * "We're sorry, but the channel could not be found." when base "hidden" channel is selected.
 * Internal Server Error when a child "hidden" channel is selected.

2. Channel Details page of a "hidden" channel renders links to "Errata", "Packages", "Subscribed Systems" and "Downloads".  Those links should be removed.

3. Errata page for that channel:

   "We're sorry, but the channel could not be found."

4. Channel package listing:

   "We're sorry, but the channel could not be found."

5. Subscribed system listing actually displays the subscribed systems.  The page content should be replaced with the appropriate message.

6. Channel ISO download page yields:

  "The channel you have attempted to access either does not exist, or you are not allowed access. Please recheck the link that brought you to this page."

7. Download software page (SupportedISOs/RetiredISOs/AllISOs):

   The links pointing to hidden channels ISO download pages should be removed.

8. Package search page should not result packages available only in hidden channels.

Comment 1 Sebastian Skracic 2010-10-18 08:32:53 UTC
 Item 8 is dealt with in changes 5aaa845db422c8e04ba28896da1467fdf2b87647 and d9fdef4f2494e535429c5fa89dd54da5463bf980.

Comment 2 Sebastian Skracic 2010-10-18 10:06:10 UTC
  Item 7 fixed in 26712c1c99b1d084b76194474ddeb21c2ad69a0a.

Comment 3 Sebastian Skracic 2010-10-18 10:43:30 UTC
  Item 2 fixed in ce8889c7368e52a99fab8e3a47e83e7010505a91.

Comment 4 Sebastian Skracic 2010-10-18 12:37:21 UTC
  Item 5 in a25cf0aeab46c102e8237c0ab34100b813d5ca04.

Comment 5 Sebastian Skracic 2010-10-19 09:51:35 UTC
  Item 1 in 3a15fbfe9715875cbfc3b6d124c8830652538563.

Comment 6 Sebastian Skracic 2010-10-19 10:00:47 UTC
  Item 6 fixed in fb051c9c11d904dfb1a6e5d617679b75440eeb46.  The ISO download page for "hidden" channels now displays the same message as Errata or Package list pages.

Comment 7 Sebastian Skracic 2010-10-19 10:13:20 UTC
 Improved and consistent wording for all those pages (affecting items 3, 4, 5 and 6) added in  791e4b17f2ca5af36258566c9cde5363df1d225b.

Comment 8 Sebastian Skracic 2010-10-19 13:41:29 UTC
 Available on WEBDEV.

Comment 9 Sebastian Skracic 2010-10-19 13:54:45 UTC
Additional issue:

 9. If a non-base channel is marked as "hidden", it is possible to access Target Systems page, eg. for those who have bookmarked the URL beforehand.  The said page does not check for channel visibility properly, so it's theoretically possible to subscribe a system to channels marked as not globally subscribable.

Comment 10 Sebastian Skracic 2010-10-19 14:01:25 UTC
 Item 9 fixed in a10bf4e52a97cf21ccdf7ac50da19d976ca4c869.

Comment 11 Sebastian Skracic 2010-10-19 14:03:54 UTC
*** Bug 447534 has been marked as a duplicate of this bug. ***

Comment 12 Sebastian Skracic 2010-10-19 16:53:16 UTC
On DEV, again.

Comment 13 Sebastian Skracic 2010-10-22 09:27:05 UTC
*** Bug 439026 has been marked as a duplicate of this bug. ***

Comment 14 venkat 2010-10-25 13:58:56 UTC
verified in webdev.

when we try to access hidden channels and the bookmarked pages like Errata",
"Packages", "Subscribed Systems" and "Downloads" we are getting the following error message.


We're sorry, but the channel could not be found.

This error may have occurred in one of three ways:

   1. Your RHN account does not include appropriate software channel entitlements to access the channel content.
   2. Your RHN account administrator has marked this channel subscribable on a per-user basis.
   3. You've found an error in our site. Please help us by filling out this form with details of how you received this message.


Package search is giving "No Pakages' - when you search for pakages in the hidden channel.


Note You need to log in before you can comment on or make changes to this bug.