Update server.ts

This commit is contained in:
chenos 2025-01-24 15:22:21 +08:00 committed by GitHub
parent 7c45197058
commit 225278602c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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