Bug 683556

Summary: PermissionException page (and possibly others?) exposes unsanitized jsf UI
Product: [Other] RHQ Project Reporter: Corey Welton <cwelton>
Component: Core UIAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: high    
Version: 4.0.0.B02CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-31 10:41:37 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: 639426, 734807    
Attachments:
Description Flags
No JSF menu elements show up
none
verification image none

Description Corey Welton 2011-03-09 17:21:46 UTC
Description of problem:
When a user gets a PermissionException error, the resulting UI is unsanitized jsf -- it has the legacy menubar, etc., embedded in it.

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


How reproducible:


Steps to Reproduce:
1.  Login as user 'rhqadmin'. Navigate to Administration > Plugins
2.  Copy the URL from the browser
3.  Create another user who does NOT have Admin permissions ("joeblow")
4.  Login with user "joeblow"
5.  Paste the Administration URL in the browser bar
6.  Observe the ensuing PermissionException error page
  
Actual results:
Page contains unsanitized jsf - the old GUI menu elements appear

Expected results:
Page should not contain any legacy UI elements other than the error itself.

Additional info:
I have no idea whether this is unique to the particular exception or more widespread.

Comment 1 Heiko W. Rupp 2011-09-28 16:17:12 UTC
I will check this and see how to proceed.

Comment 2 Charles Crouch 2011-09-30 17:46:00 UTC
removing superfluous trackers

Comment 3 Heiko W. Rupp 2011-10-14 12:40:46 UTC
Created attachment 528201 [details]
No JSF menu elements show up

Comment 4 Heiko W. Rupp 2011-10-14 15:05:09 UTC
f76c66e in master removes the links to the old UI pages. Those are wrong and replacements not needed, as the top level tabs are easily reachable.

Comment 5 Mike Foley 2011-10-14 17:49:23 UTC
verify that no JSF menu elements show up.  and there are no links.  and no top level tabs.

to be clear ... the error page is not smartGWT.  it is a java server faces modal dialogue.  see attached image.

but this seems ok to me.  there are other remnants of jsf still in RHQ4/JON3.

Comment 6 Mike Foley 2011-10-14 17:49:55 UTC
Created attachment 528249 [details]
verification image

Comment 7 Heiko W. Rupp 2013-08-31 10:41:37 UTC
Closing as this was solved / verified long time ago.