grafana/pkg/services/correlations/accesscontrol.go
Piotr Jamróz 813e1c1364
Correlations: Limit access to correlations page to users who can access Explore (#93519)
Correlations: Limit access to correlations page to users who can access Explore
2024-09-24 16:02:02 +02:00

11 lines
284 B
Go

package correlations
import (
"github.com/grafana/grafana/pkg/services/accesscontrol"
)
var (
// ConfigurationPageAccess is used to protect the "Configure > correlations" tab access
ConfigurationPageAccess = accesscontrol.EvalPermission(accesscontrol.ActionDatasourcesExplore)
)