Skip to content

Insights/api/insight view query

Warren Gifford requested to merge insights/api/insight-view-query into main

Created by: coury-clark

Closes #26451 (closed), #26458 (closed)

Adds a query insightViews that behaves similar to insights but with the new insight view model and semantics. Resolves all insights available to the user context that are:

  1. Explicitly granted user permissions
  2. On a dashboard available to the user

I did some small refactoring of the insights and dashboard permissions query to be able to reuse them. This fixes the problem for insight series for #26458 (closed). Dashboards did not have this problem because they are already grouped on the dashboard id.

Merge request reports

Loading