fix(file-manager): only allow logged-in users to upload files
This commit is contained in:
parent
e3045a2f9a
commit
106f9d90f5
@ -45,7 +45,8 @@ export default class PluginFileManager extends Plugin {
|
||||
|
||||
initActions(this);
|
||||
|
||||
// this.app.acl.allow('attachments', 'upload', 'loggedIn');
|
||||
this.app.acl.allow('attachments', 'upload', 'loggedIn');
|
||||
this.app.acl.allow('attachments', 'create', 'loggedIn');
|
||||
|
||||
// this.app.resourcer.use(uploadMiddleware);
|
||||
// this.app.resourcer.use(createAction);
|
||||
|
Loading…
Reference in New Issue
Block a user