diff --git a/packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts b/packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts index 2a638225c1..9250e6868f 100644 --- a/packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts +++ b/packages/plugins/@nocobase/plugin-workflow/src/server/Plugin.ts @@ -233,9 +233,7 @@ export default class PluginWorkflowServer extends Plugin { actions: ['workflows:list'], }); - this.app.acl.allow('workflows', ['trigger'], 'loggedIn'); - - await this.importCollections(path.resolve(__dirname, 'collections')); + this.app.acl.allow('*', ['trigger'], 'loggedIn'); this.db.addMigrations({ namespace: this.name,