mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:15:11 +00:00
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) {
|
||||
if (this.aclSnippets.includes(`!${this.getAclSnippet('*')}`)) return false;
|
||||
return this.aclSnippets.includes(`!${this.getAclSnippet(name)}`) === false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user