grafana/pkg/services/annotations
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
..
accesscontrol Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
annotationsimpl Alerting: Update alerting state history API to authorize access using RBAC (#89579) 2024-06-26 10:25:37 -04:00
annotationstest Rename Id to ID for annotation models (#62886) 2023-02-03 17:23:09 +01:00
testutil Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
annotations_repository_mock.go Alerting: Persist annotations from multidimensional rules in batches (#56575) 2022-11-04 10:39:26 -05:00
annotations.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
models.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00