fix(theme-editor): only list action allows to use and must be logged in

This commit is contained in:
Rain 2023-08-26 14:05:11 +08:00
parent d1f4f0d29a
commit 0ea609e0a8

View File

@ -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) {