mirror of
https://github.com/grafana/grafana.git
synced 2024-12-26 08:51:33 -06:00
813e1c1364
Correlations: Limit access to correlations page to users who can access Explore
11 lines
284 B
Go
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)
|
|
)
|