mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
Update server.ts
This commit is contained in:
parent
7c45197058
commit
225278602c
@ -253,7 +253,7 @@ export class PluginFileManagerServer extends Plugin {
|
||||
|
||||
initActions(this);
|
||||
|
||||
this.app.acl.allow('attachments', ['upload', 'create', 'destroy'], 'loggedIn');
|
||||
this.app.acl.allow('attachments', ['upload', 'create'], 'loggedIn');
|
||||
this.app.acl.allow('storages', 'getRules', 'loggedIn');
|
||||
|
||||
// this.app.resourcer.use(uploadMiddleware);
|
||||
|
Loading…
x
Reference in New Issue
Block a user