Alerting: Change Panel Edit link to Panel View link (#27378)

Enables alerts to be sent to users who do not have edit permissions.

Addresses Issue: https://github.com/grafana/grafana/issues/26014
pull/27440/head
robert lestak 5 years ago committed by GitHub
parent 4b1eb6e5c7
commit d0e980c2fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/services/alerting/eval_context.go

@ -112,7 +112,7 @@ func (c *EvalContext) GetDashboardUID() (*models.DashboardRef, error) {
return c.dashboardRef, nil
}
const urlFormat = "%s?tab=alert&editPanel=%d&orgId=%d"
const urlFormat = "%s?tab=alert&viewPanel=%d&orgId=%d"
// GetRuleURL returns the url to the dashboard containing the alert.
func (c *EvalContext) GetRuleURL() (string, error) {

Loading…
Cancel
Save