Bug 976371 - in organization with no channel entitlement I see base channel offered for system
Summary: in organization with no channel entitlement I see base channel offered for sy...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 560
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Dobes
QA Contact: Jiří Mikulka
URL:
Whiteboard:
Depends On:
Blocks: sat560-lowbug
TreeView+ depends on / blocked
 
Reported: 2013-06-20 12:59 UTC by Jan Hutař
Modified: 2014-10-06 13:46 UTC (History)
3 users (show)

Fixed In Version: spacewalk-java-2.0.2-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-01 21:56:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2013-06-20 12:59:27 UTC
Description of problem:
In organization with no channel entitlement (just few management ones) I see base channel offered for system.


Version-Release number of selected component (if applicable):
Satellite-5.6.0-RHEL6-re20130617.0-x86_64


How reproducible:
1 of 1 attempt


Steps to Reproduce:
1. Create organization:
   - with trust to main organization
   - with 10 management base entitlements, but with no channel entitlement
2. Migrate one system there
3. Login to new organization
4. Systems -> <migrated_system> -> Software -> Software Channels
5. Take a look at "Base Software Channel" and offered chnnels
6. I can see RHEL6 base channel offered there
7. Click on it and "Confirm"


Actual results:
We're sorry, but the channel could not be found. 
  This error may have occurred in one of three ways:
    The channel requested does not exist. This is most likely if you
    arrived at this page through bookmarks or some other non-hyperlink.
    You do not have permission to view this channel.
    You've found an error in our site.


Expected results:
IMO If I do not have permission to use that channel, it should not be offered.

Comment 1 Jan Dobes 2013-06-25 07:39:06 UTC
Channels without channel entitlements aren't even listed under all channels list, so I modified listing of base channels to not offer it too.

spacewalk master: 23583fe5c7b5b59285f2f6f4f98f2b9159b5ab93

Comment 4 Clifford Perry 2013-10-01 21:56:17 UTC
Satellite 5.6 has been released. This bug was tracked under the release.  

This bug was either VERIFIED or RELEASE_PENDING (re-verified prior shortly
before release). 

Moving to CLOSED CURRENT_RELEASE. 

Text from Upgrade Erratum follows:

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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1395.html


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