mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:45:18 +00:00
fix(plugin-workflow): fix trigger workflow acl (#4522)
This commit is contained in:
parent
64414249dd
commit
bde1d1ee61
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user