grafana/pkg/services/annotations/annotationsimpl/loki
Yuri Tseretyan 06d5850396
Alerting: Update alerting state history API to authorize access using RBAC (#89579)
* add method CanReadAllRules to rule authorization service

* add alias type Namespace for Folder in ngalert's models package. It implements the Namespacer interface that is used by authz logic

* update state history's backends to authorize access to rules.
* update Loki to add folders UIDs to query. 
    * Update BuildLogQuery to drop filter by folders if it's too long and fall back to in-memory filtering.
2024-06-26 10:25:37 -04:00
..
historian_store_test.go Alerting: Add max limit for Loki query size in state history API (#89646) 2024-06-25 09:20:38 -04:00
historian_store.go Alerting: Update alerting state history API to authorize access using RBAC (#89579) 2024-06-26 10:25:37 -04:00