grafana/pkg/services/annotations/annotationsimpl
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
..
loki Alerting: Update alerting state history API to authorize access using RBAC (#89579) 2024-06-26 10:25:37 -04:00
annotations_test.go Alerting: Instrument outbound requests for Loki Historian and Remote Alertmanager with tracing (#89185) 2024-06-14 13:24:12 -05:00
annotations.go Alerting: Instrument outbound requests for Loki Historian and Remote Alertmanager with tracing (#89185) 2024-06-14 13:24:12 -05:00
cleanup_test.go Annotations: Split cleanup into separate queries and deletes to avoid deadlocks on MySQL (#80329) 2024-01-12 14:05:04 -06:00
cleanup.go Annotations: Lift parts of RBAC from xorm store into auth service (#76967) 2023-11-14 18:11:01 -05:00
composite_store_test.go Alerting/Annotations: Prevent panics from composite store jobs from crashing Grafana (#83459) 2024-02-28 20:16:37 +02:00
composite_store.go Alerting/Annotations: Prevent panics from composite store jobs from crashing Grafana (#83459) 2024-02-28 20:16:37 +02:00
store.go Alerting/Annotations: Prevent panics from composite store jobs from crashing Grafana (#83459) 2024-02-28 20:16:37 +02:00
time.go Annotations: Lift parts of RBAC from xorm store into auth service (#76967) 2023-11-14 18:11:01 -05:00
xorm_store_test.go Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
xorm_store.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00