Bug 956546 - Logout button does not log user out, but instead takes him to jBPM dashboard
Summary: Logout button does not log user out, but instead takes him to jBPM dashboard
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: BAM
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: DR6
: 6.0.0
Assignee: David Gutierrez
QA Contact: Jan Hrcek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-25 08:02 UTC by Jan Hrcek
Modified: 2014-08-06 20:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Request dispatching mechanism was not aware of request coming from previous pages. Consequence: The request was ignored so the logout was not actually being done. Fix: Add support to old page requests. Result: Now it's possible to go back from the jBPM dashboard and do logout.
Clone Of:
Environment:
Last Closed: 2014-08-06 20:11:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Add Workspace menu vertical using root user (558.91 KB, image/png)
2013-04-25 08:02 UTC, Jan Hrcek
no flags Details

Description Jan Hrcek 2013-04-25 08:02:20 UTC
Created attachment 739709 [details]
Add Workspace menu vertical using root user

Description of problem:
Using root: you add "Workspace menu vertical" panel to welcome page. Then...
Using demo user: navigate to jBPM Dashboard using the added panel, then browse back (using broswer back button), click Logout button - the application SHOULD log you out and take you back to login screen. But instead it takes you to jBPM dashboard and leaves you logged in.

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


How reproducible:
Always with dashboard-showcase (based on h2 DB, run with jetty)

Steps to Reproduce:
1. Build application from sources on github and start quickstart demo using buildandrun_h2.sh as described in readme.
2. Login with root
3. On the Home page create new instance of "Workspace menu vertical" panel (see screenshot)
4. Logout root and log back in using demo/demo credentials
5. Navigate to jBPM dashboard using panel created in step 3.
6. Navigate back using browser "back" button
7. When you're back on Home page of Showcase workspace, click the Logout button in the Logout panel.
  
Actual results:
The logout button takes you to the jBPM dashboard, and you are still logged in (you can click through the panels, edit options etc.)

Expected results:
The logout button should log you out and bring you back to login page.


Additional info:
I discovered this bug when trying to configure the "Showcase" to enable access for demo user to jBPM dashboard using  "Workspace menu vertical" panel. By default both "Showcase" and jBPM dashboard are configured to have only  "Access" workspace permissions for role "End user" (= demo user).

Even though demo user has "Access" permission to both workspaces, there is no way for him to navigate to jBPM dashboard from the Showcase workspace. Adding some workspace navigation panel to Showcase dashboard should be considered.

Comment 1 David Gutierrez 2013-06-12 10:22:43 UTC
Regarding this: "Even though demo user has "Access" permission to both workspaces, there is no way for him to navigate to jBPM dashboard from the Showcase workspace. Adding some workspace navigation panel to Showcase dashboard should be considered."

The jBPM dashboard is part of the whole BPMS product. Such dashboard will be accessed from the kie-wb UI. In fact it will be embedded inside a kie-wb perspective/panel.

So, the jBPM dashboard will be only available in the scope of BPMS. Therefore, we don't want Dashbuilder's default showcase knows nothing about jBPM because Dashbuilder as an independent project will not contain any jBPM Stuff in the near future.

Comment 3 Jan Hrcek 2013-07-13 10:07:12 UTC
OK, verified in BPMS 6.0.0.DR6 deployed on EAP 6.1


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