Red Hat Bugzilla – Bug 1021375
When analyst navigates from business central to Business dashboards he is logged out
Last modified: 2014-08-06 16:09:47 EDT
Created attachment 814457 [details]
Steps to reproduce - video
Description of problem:
When you login to business central with user who has just role 'analyst' (no 'admin') and you navigate to Dashboards > Business dashboards, the user is logged out from dashbuilder. When he gets back to business central, he is logged out in the jbpm dashboard and it is impossible to login again. The only way to fix this is to logout from business central and login again.
See video for steps to reproduce.
Version-Release number of selected component (if applicable):
BPMS 6.0.0 ER4
Steps to Reproduce:
1. Login to business-central with user who only has role analyst
2. open Dashboards > Process & Task Dashboard (should open built-in jbpm dashboard)
3. open Dashboards > Business dashboards
4. back in business central repeat step 2
New tab/windowis opened with dashbuilder login screen.
When back in business central, user is logged out from dashbuilder and dashbuilder login screen appears in iframe for jbpm dashboard.
Not sure what exactly is expected, but user should not be logged out from business central's jbpm dashboard. Either analyst role should be configured to have access to Showcase workspace too (so that he is not logged out when navigating to business dashboards) or he should be taken to the workspace that he has access to (jbpm-dashboard in this case).
I think the problem is, that Dashboards > Business dashboards takes user to Showcase workspace which, by default, is not accessible to user with role analyst. See also https://bugzilla.redhat.com/show_bug.cgi?id=1007725
Created attachment 814620 [details]
Permissions - default configuration
Created attachment 814621 [details]
Permissions - required configuration
The issue is caused because the default workspace configuration does NOT allow analyst role to log into the generic workspace (see screenshot 1).
That can be workarounded easily by adding this permission to the role 'analyst', as shown in screenshot 2. From then, it will work fine.
That was already fixed in community in https://bugzilla.redhat.com/show_bug.cgi?id=1018289 but I don't see any commit in the branding branch, so it must be verified in the branding branch to be sure this fix is also there.
Indeed (as Pedro pointed out) this issue is already fixed in the community. From now on, 5 roles: admin, analyst, manager, developer & manager have access granted to the Showcase workspace. Those new roles has been requested by PM as you can see here: https://bugzilla.redhat.com/show_bug.cgi?id=1005981.
Ok, the issue has been fixed in BPMS 6.0.0 ER5