fix(ui-schema-storage): allow uiSchemas:getParentJsonSchema

This commit is contained in:
chenos 2024-04-23 09:02:51 +08:00
parent 320d4fef07
commit 4b51a43786

View File

@ -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');
}