mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
c68d7f1e35
* GrafanaUI: add option to close DeleteButton on confirm click * add datasource readOnly info to frontend settings * move isTruthy utility type guard * add generic non-visualization table component * Add correlations settings page * add missing readOnly in mock * Fix typo * avoid reloading correlations after add/remove * use DeepPartial from rhf * validate source data source * fix validation logic * fix navmodel test * add missing readonly property * remove unused styles * handle multiple clicks on elements * better UX for loading states * fix remove handler * add glue icon
12 lines
323 B
Go
12 lines
323 B
Go
package correlations
|
|
|
|
import (
|
|
"github.com/grafana/grafana/pkg/services/accesscontrol"
|
|
"github.com/grafana/grafana/pkg/services/datasources"
|
|
)
|
|
|
|
var (
|
|
// ConfigurationPageAccess is used to protect the "Configure > correlations" tab access
|
|
ConfigurationPageAccess = accesscontrol.EvalPermission(datasources.ActionRead)
|
|
)
|