fix: plugin settings auth bug (#3585)
This commit is contained in:
parent
43597a4529
commit
2140df071d
@ -100,6 +100,7 @@ export class PluginSettingsManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
hasAuth(name: string) {
|
hasAuth(name: string) {
|
||||||
|
if (this.aclSnippets.includes(`!${this.getAclSnippet('*')}`)) return false;
|
||||||
return this.aclSnippets.includes(`!${this.getAclSnippet(name)}`) === false;
|
return this.aclSnippets.includes(`!${this.getAclSnippet(name)}`) === false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user