Bug 787966

Summary: Misplaced changeset 'details' under changeset history tab with read only user
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.0CC: jsherril, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:25:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
misplaced chnageset details underchangeset history tab with read only user
none
Correctly placed all changeset history details with read only user none

Description Sachin Ghai 2012-02-07 06:19:09 UTC
Description of problem:
Login with read only user and check the details of changeset under changeset history tab. Details are misplaced ( see attachment1 [details])

Note this is the issue with read only user.

Version-Release number of selected component (if applicable):
katello-glue-pulp-0.1.211-2.el6.noarch
katello-0.1.211-2.el6.noarch
pulp-0.0.263-1.el6.noarch
katello-cli-0.1.44-2.el6.noarch


How reproducible:
always

Steps to Reproduce:
1. Login with admin user
2. Add a product in org 'A', Add it to changeset and promote it
3. Create a user 'reader' who has the read only permission, assign 'Read Everything role to 'reader'
4. Login with reader and go to changeset history tab
  
Actual results:
Misplaced changeset 'details' under changeset history tab with read only user

Expected results:
Details shouldn't be misplaced.

Additional info:

Comment 1 Sachin Ghai 2012-02-07 06:20:23 UTC
Created attachment 559840 [details]
misplaced chnageset details underchangeset history tab with read only user

Comment 2 Justin Sherrill 2012-02-28 19:37:32 UTC
fixed in katello master
30ddbc97a8f7f7488c9152f7c39912d84796a146


Would only show up if description is not set, so i chose to display "None" if description is empty.

Comment 4 Sachin Ghai 2012-03-05 07:34:36 UTC
Verified with following katello build:

pulp-1.0.0-4.el6.noarch
katello-0.1.301-2.el6.noarch


The reported issue has been fixed. Now UI is showing 'None value for description, if it is not set. And formatting is proper on UI.

Comment 5 Sachin Ghai 2012-03-05 07:36:15 UTC
Created attachment 567498 [details]
Correctly placed all changeset history details with read only user