grafana/pkg/services/ngalert/models
Yuriy Tseretyan ad25e2a20c
Alerting: Update RBAC for alert rules to consider access to rule as access to group it belongs (#49033)
* update authz to exclude entire group if user does not have access to rule
* change rule update authz to not return changes because if user does not have access to any rule in group, they do not have access to the rule
* a new query that returns alerts in group by UID of alert that belongs to that group
* collect all affected groups during calculate changes
* update authorize to check access to groups
* update tests for calculateChanges to assert new fields
* add authorization tests
2022-06-01 10:23:54 -04:00
..
admin_configuration_test.go Alerting: send alerts to external, internal, or both alertmanagers (#40341) 2022-02-01 20:36:55 -03:00
admin_configuration.go Alerting: send alerts to external, internal, or both alertmanagers (#40341) 2022-02-01 20:36:55 -03:00
alert_query_test.go Alerting: Display query from grafana-managed alert rules on /api/v1/rules (#45969) 2022-03-14 10:39:20 +00:00
alert_query.go Alerting: Display query from grafana-managed alert rules on /api/v1/rules (#45969) 2022-03-14 10:39:20 +00:00
alert_rule_test.go Alerting: Revert Revert "Alerting: Calculate diff for two AlertRules" (#46034) 2022-03-01 11:10:29 -05:00
alert_rule.go Alerting: Update RBAC for alert rules to consider access to rule as access to group it belongs (#49033) 2022-06-01 10:23:54 -04:00
alertmanager.go Alerting: add collision safe update function for alertmanager configurations (#46692) 2022-03-23 09:31:46 +01:00
eval_condition.go [Alerting]: Implement test rule API route (#32837) 2021-04-13 20:58:34 +03:00
image.go Alerting: Add stored screenshot utilities to the channels package. (#49470) 2022-05-26 13:29:56 +08:00
instance_labels.go Alerting: Fix state cache id duplication (#33480) 2021-04-28 11:42:19 -04:00
instance.go Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. (#49259) 2022-05-23 16:49:49 +08:00
provisioning.go Drop ProvenanceOrgAdapter and build into store API instead (#48137) 2022-04-26 10:30:57 -05:00
testing.go Alerting: introduce AlertRuleGroupKey and use it in API handlers (#48945) 2022-05-16 15:45:45 -04:00