Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-5365

Dashboard authorization check performs badly depending on the number of all reports

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.5.0
    • None
    • backend
    • None
    • Not defined

      What are the steps to reproduce your problem?
      1. Create a dashboard and save it
      2. Open the dashboard and record the response time for the {{/api/share/dashboard/<id>/isAuthorizedToShare}] call
      3. Create a significant amount of reports (>1k) not even related to the dashboard

      What is the problem?
      4. Reload the dashboard => response time increased signficantly

      What would be the expected behavior:
      The dashboard share authorization check should not be related to the global report count but at most to the report count within the dashboard the check is performed for.

      Hints (optional):

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: