mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Plugins: Use org role to separate unauthed from anon (#79082)
use org role to separate unauthed from anon
This commit is contained in:
parent
959ebf82da
commit
5efa85e634
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user