Bug 753175

Summary: Roles/Permissions - Listbox for Permissions does not initially appear for any selected Perm
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: 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:06:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 747354    

Description Corey Welton 2011-11-11 14:18:18 UTC
Description of problem:
When a user goes to create a Role, s/he first chooses Permission set(s) to which this role applies. However the Verbs listbox for any role does not initially appear -- and will not appear until user clicks +All and then Cancel.

Or maybe the bug is that it is appearing at all after doing +All and then Cancel.  Not sure

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


How reproducible:


Steps to Reproduce:
1. Create a new role, "Test Role 2"
2. In the right pane, Permissions > ACME_Corporation > Add Permission
3. Choose any Permission set from the dropdown. Do NOT click Next"
4. Click the +All Button
5. Click the Cancel button
6. View results
  
Actual results:

After clicking the All button, followed by Cancel the user sees a populated listbox for any given Permission set selected. This is essentially step 2 in the wizard, which kind of makes one wonder why 1) why aren't we just displaying/populating the listbox in step #1 in the first place and 2)why does hitting cancel cause it to show up when it was never there before.

In all, it's kind of confusing.

Expected results:

Either 
1) Autodisplay & autopopulate the verb listbox for any given Perm in step #1 (this will almost always default to Organizations) and remove step #2 entirely
...or...
2) Don't allow the listbox to show up when user has hit the All button and subsequently cancels.


Additional info:

Comment 1 Eric Helms 2012-01-10 18:56:31 UTC
4616898c8310866147fbe88174c767519008cd51

This should no longer be an issue.  Selecting +All will take the user to a state where they can press Next and enter name/description.  Hitting cancel at any point will return the user back to the beginning of the permission creation process without any errant steps showing up out of place.

Comment 2 Corey Welton 2012-01-11 20:43:45 UTC
QA Verified.

Comment 5 Mike McCune 2013-08-16 18:11:27 UTC
getting rid of 6.0.0 version since that doesn't exist