mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 04:07:50 +08:00
fix(theme-editor): only list action allows to use and must be logged in
This commit is contained in:
parent
d1f4f0d29a
commit
0ea609e0a8
@ -28,7 +28,7 @@ export class ThemeEditorPlugin extends Plugin {
|
||||
},
|
||||
],
|
||||
});
|
||||
this.app.acl.allow('themeConfig', '*');
|
||||
this.app.acl.allow('themeConfig', 'list', 'loggedIn');
|
||||
}
|
||||
|
||||
async install(options?: InstallOptions) {
|
||||
|
Loading…
Reference in New Issue
Block a user