api icon indicating copy to clipboard operation
api copied to clipboard

Add namespace label filter when fetching alerting rules

Open aminesnow opened this issue 2 years ago • 0 comments

This PR adds a middleware function that adds namespace label filter when querying alerting rules. This filter contains the list of namespaces that the user has access to, thus returning only the rules that are in those namespaces.

This PR depends on grafana/loki/pull/9128

aminesnow avatar Apr 19 '23 15:04 aminesnow