diff --git a/public/app/core/services/context_srv.ts b/public/app/core/services/context_srv.ts index aac450a9208..584be3f699f 100644 --- a/public/app/core/services/context_srv.ts +++ b/public/app/core/services/context_srv.ts @@ -157,7 +157,7 @@ export class ContextSrv { hasAccessToExplore() { if (this.accessControlEnabled()) { - return this.hasPermission(AccessControlAction.DataSourcesExplore); + return this.hasPermission(AccessControlAction.DataSourcesExplore) && config.exploreEnabled; } return (this.isEditor || config.viewersCanEdit) && config.exploreEnabled; }