From 5efa85e634f037b637b0b8266f1e75061b02e4b6 Mon Sep 17 00:00:00 2001 From: Jo Date: Tue, 5 Dec 2023 16:40:19 +0100 Subject: [PATCH] Plugins: Use org role to separate unauthed from anon (#79082) use org role to separate unauthed from anon --- public/app/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/app.ts b/public/app/app.ts index c3f5a9f6791..c2975ee5b01 100644 --- a/public/app/app.ts +++ b/public/app/app.ts @@ -197,7 +197,7 @@ export class GrafanaApp { let preloadResults: PluginPreloadResult[] = []; - if (contextSrv.isSignedIn) { + if (contextSrv.user.orgRole !== '') { // Preload selected app plugins preloadResults = await preloadPlugins(config.apps); }