Bug 701767 - Suborg allocated only flex entitlements cannot access software channels
Summary: Suborg allocated only flex entitlements cannot access software channels
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Registration
Version: 540
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Dimitar Yordanov
URL:
Whiteboard:
Depends On:
Blocks: sat541-triage
TreeView+ depends on / blocked
 
Reported: 2011-05-03 19:32 UTC by Alex Dellapenta
Modified: 2018-11-27 21:34 UTC (History)
7 users (show)

Fixed In Version: spacewalk-schema-1.2.21-16 satellite-schema-5.4.0.19-1
Doc Type: Bug Fix
Doc Text:
Consequence: When only flex entitlements (and no regular) were assigned to an organization, the organization rights were not properly recognized. Result: If an organization has only flex entitlements assigned, access channels rights are properly recognized.
Clone Of:
Environment:
Last Closed: 2012-02-06 08:23:04 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0097 0 normal SHIPPED_LIVE Red Hat Network Satellite bug fix update 2012-02-06 13:21:24 UTC

Description Alex Dellapenta 2011-05-03 19:32:00 UTC
Description of problem:

On a 5.4 satellite, if you create a suborganization and only give it flex entitlements, satellite users (even org admins) cannot:

- access the channels overview in the webUI

Channels tab shows "No channels found."

- create Activation Keys that specifies a base channel 

webUI shows "We're sorry, but the channel could not be found." and tomcat logs shows:

2011-04-28 09:29:05,936 [TP-Processor3] WARN  com.redhat.rhn.common.errors.LookupExceptionHandler - User 125 does not have access to channel 121 or the channel does not exist
Apr 28, 2011 5:30:07 PM org.apache.coyote.http11.Http11BaseProtocol pause

- register clients 

fails with Error Class Code: 71

Version-Release number of selected component (if applicable):
RHNS 5.4

How reproducible:
Always

Steps to Reproduce:
1. As sat admin, create suborg in 5.4 webUI
2. Allocate base entitlements and only flex software channel entitlements
3. As new suborg's admin, try to access any channel from the Channel tab, create an Activation Key, or register a client
  
Actual results:

Failure; acts like the user does not have permissions to access the channel.

Expected results:

Success!

Comment 20 Tomas Lestach 2012-01-13 11:06:55 UTC
fixed in upstream ... in spacewalk-schema package ...

spacewalk.git: 302ee4c2bc237c6fabf5c411cd2dd8c3e3afad48

for QA: please, try to test several actions, not just those three listed in the #Description

Comment 21 Tomas Lestach 2012-01-13 12:16:25 UTC
fixing sha1 of PG upgrade file ...

spacewalk.git: 3f3adfeaef07e76b385456dae74c0f1a1d2ea83a

Comment 24 Tomas Lestach 2012-01-31 13:28:26 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Consequence:
When only flex entitlements (and no regular) were assigned to an organization, the organization rights were not properly recognized.
Result:
If an organization has only flex entitlements assigned, access channels rights are properly recognized.

Comment 30 errata-xmlrpc 2012-02-06 08:23:04 UTC
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/RHBA-2012-0097.html


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