From 4b51a43786d694cf8da649f404428a847728895a Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 23 Apr 2024 09:02:51 +0800 Subject: [PATCH] fix(ui-schema-storage): allow uiSchemas:getParentJsonSchema --- .../@nocobase/plugin-ui-schema-storage/src/server/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/@nocobase/plugin-ui-schema-storage/src/server/server.ts b/packages/plugins/@nocobase/plugin-ui-schema-storage/src/server/server.ts index a5fe4fe441..3efed06462 100644 --- a/packages/plugins/@nocobase/plugin-ui-schema-storage/src/server/server.ts +++ b/packages/plugins/@nocobase/plugin-ui-schema-storage/src/server/server.ts @@ -71,7 +71,7 @@ export class PluginUISchemaStorageServer extends Plugin { actions: uiSchemaActions, }); - this.app.acl.allow('uiSchemas', ['getProperties', 'getJsonSchema'], 'loggedIn'); + this.app.acl.allow('uiSchemas', ['getProperties', 'getJsonSchema', 'getParentJsonSchema'], 'loggedIn'); this.app.acl.allow('uiSchemaTemplates', ['get', 'list'], 'loggedIn'); }