Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-5601

Process & Task dashboard displays HTTP 403 exception for all users without kie-server role

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.0.0.Final
    • 7.x
    • Console
    • 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

            cnicolai@redhat.com Cristiano Nicolai
            jhrcek Jan Hrcek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: