From 2140df071db59bc75f004f907e24ca20376db105 Mon Sep 17 00:00:00 2001 From: jack zhang <1098626505@qq.com> Date: Thu, 29 Feb 2024 17:49:11 +0800 Subject: [PATCH] fix: plugin settings auth bug (#3585) --- packages/core/client/src/application/PluginSettingsManager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/client/src/application/PluginSettingsManager.ts b/packages/core/client/src/application/PluginSettingsManager.ts index 2a77a1858c..f6e3053008 100644 --- a/packages/core/client/src/application/PluginSettingsManager.ts +++ b/packages/core/client/src/application/PluginSettingsManager.ts @@ -100,6 +100,7 @@ export class PluginSettingsManager { } hasAuth(name: string) { + if (this.aclSnippets.includes(`!${this.getAclSnippet('*')}`)) return false; return this.aclSnippets.includes(`!${this.getAclSnippet(name)}`) === false; }