grafana/pkg/services/ngalert/accesscontrol
Matthew Jacobson 8418aca823
Alerting: Add single rule checks to alert rule access control (#88307)
* Alerting: Add single rule checks to alert rule access control

Modifies ruler api single rule read to no longer fetch entire groups and instead
 use the new single rule ac check.
Simplifies provisioning api getAlertRuleAuthorized logic to always load a single
 rule instead of conditionally loading the entire group when provisioning
 permissions are not present.

* Swap out Has/AuthorizeAccessToRule for Has/AuthorizeAccessInFolder
2024-05-28 10:49:24 -04:00
..
fakes Alerting: Add single rule checks to alert rule access control (#88307) 2024-05-28 10:49:24 -04:00
accesscontrol.go Alerting: Introduce authorization logic for operations on silences (#85418) 2024-04-08 18:02:28 -04:00
models.go Alerting: Alerting accesscontrol utilities (#84508) 2024-03-14 14:03:53 -04:00
rules_test.go Alerting: Remove requirement for datasource query on rule read (#87349) 2024-05-23 12:44:30 -04:00
rules.go Alerting: Add single rule checks to alert rule access control (#88307) 2024-05-28 10:49:24 -04:00
silences_test.go Alerting: separate out silence auth service preconditions checks (#87998) 2024-05-23 12:34:42 -04:00
silences.go Alerting: separate out silence auth service preconditions checks (#87998) 2024-05-23 12:34:42 -04:00
testing.go Alerting: Extract alerting rules authorization logic to a service (#77006) 2023-11-15 18:54:54 +02:00