From d1f4f0d29a077bb527b3b3efa7b7c6bf921b1450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=AB=E9=9B=A8=E6=B0=B4=E8=BF=87=E6=BB=A4=E7=9A=84?= =?UTF-8?q?=E7=A9=BA=E6=B0=94-Rain?= <958414905@qq.com> Date: Sat, 26 Aug 2023 12:07:59 +0800 Subject: [PATCH] fix(themeEditor): should allow all roles to use (#2538) --- packages/plugins/theme-editor/src/server/plugin.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/plugins/theme-editor/src/server/plugin.ts b/packages/plugins/theme-editor/src/server/plugin.ts index a2d1399e0..53a4154a4 100644 --- a/packages/plugins/theme-editor/src/server/plugin.ts +++ b/packages/plugins/theme-editor/src/server/plugin.ts @@ -28,6 +28,7 @@ export class ThemeEditorPlugin extends Plugin { }, ], }); + this.app.acl.allow('themeConfig', '*'); } async install(options?: InstallOptions) {