Skip to content

Commit

Permalink
Navigation: Don't show "add new connection" if user has no permissions (
Browse files Browse the repository at this point in the history
grafana#94058)

Navigation: Don't show "add new connection" if user does not have permissions
  • Loading branch information
alexanderzobnin authored Oct 2, 2024
1 parent dd8c50e commit 3f6a64c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/services/datasources/accesscontrol.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ var (
var (
// ConfigurationPageAccess is used to protect the "Configure > Data sources" tab access
ConfigurationPageAccess = accesscontrol.EvalAny(
accesscontrol.EvalPermission(accesscontrol.ActionDatasourcesExplore),
accesscontrol.EvalPermission(ActionCreate),
accesscontrol.EvalAll(
accesscontrol.EvalPermission(ActionRead),
Expand Down

0 comments on commit 3f6a64c

Please sign in to comment.