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
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user