Skip to content

Commit 490d6ba

Browse files
authored
Alerting: Extend scheduler user with datasources:read (grafana#92410)
Add permission
1 parent 857e2b1 commit 490d6ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/services/ngalert/schedule/alert_rule.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,9 @@ func SchedulerUserFor(orgID int64) *user.SignedInUser {
514514
datasources.ActionQuery: []string{
515515
datasources.ScopeAll,
516516
},
517+
datasources.ActionRead: []string{
518+
datasources.ScopeAll,
519+
},
517520
},
518521
},
519522
}

0 commit comments

Comments
 (0)