mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 11:12:20 +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);
|
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.acl.allow('storages', 'getRules', 'loggedIn');
|
||||||
|
|
||||||
// this.app.resourcer.use(uploadMiddleware);
|
// this.app.resourcer.use(uploadMiddleware);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user