Filter for user/private reports with elasticsearch query

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.7.0
    • Affects Version/s: None
    • Component/s: backend
    • None

      Context:
      When we read private/user reports we currently often read all reports and then filter by collectionId = null and userId. We should rather filter directly when querying from elasticsearch.

      AT:

      • ReportReader offers a method to filter for private reports with an optional userId
      • in every location where we read private reports this method is used, these are at least:
        • `ReportService#findAndFilterPrivateReports`
        • `#UpgradeFrom26To27#populateReportToAlertArchiveCollectionMap`

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: