-
Enhancement
-
Resolution: Done
-
Blocker
-
7.x
-
None
-
NEW
-
NEW
Now that the dashbuilder dataset definitions feeding Process & task dashboard have been moved to kie-server, user MUST have the role kie-server to actually see any data displayed in the dashboards.
If user doesn't have this role, he still has access to the P&T dashboard perspective, but every displayer is showing low-level exception (see screenshot):
org.kie.server.client.KieServicesHttpException: Unexpected HTTP response code when requesting URI 'http://localhost:8080/kie-server/services/rest/server/queries/definitions/tasksMonitoring/filtered-data?mapper=RawList&page=0&pageSize=-1'! Error code: 403, message: <html><head><title>Error</title></head><body>Forbidden</body></html>
This (commonly expected) failure state should be handled in more user friendly way: perhaps by
1) displaying some kind of error message ("You don't have required role to view process & task data") upon entering perspective instead of showing the exception in each displayer.
2) disabling access to this perspective altogether for users without kie-server role
- is related to
-
JBPM-5432 Incomprehensible error shown when user with no access to kie-server enters tasks/proc.inst. perspectives
- Resolved