Alerting: AlertingProxy to elevate permissions for request forwarded to data proxy when RBAC enabled (#53620)
This commit is contained in:
@@ -91,6 +91,7 @@ func (api *API) RegisterAPIEndpoints(m *metrics.API) {
|
||||
logger := log.New("ngalert.api")
|
||||
proxy := &AlertingProxy{
|
||||
DataProxy: api.DataProxy,
|
||||
ac: api.AccessControl,
|
||||
}
|
||||
|
||||
// Register endpoints for proxying to Alertmanager-compatible backends.
|
||||
|
||||
Reference in New Issue
Block a user