mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 17:48:49 +01:00
Performance Enhancements
This commit is contained in:
parent
904b5bf0f5
commit
3c49e2d0ed
7 changed files with 51 additions and 15 deletions
|
|
@ -27,6 +27,10 @@ Attachments = new FS.Collection('attachments', {
|
|||
|
||||
|
||||
if (Meteor.isServer) {
|
||||
Meteor.startup(() => {
|
||||
Attachments.files._ensureIndex({ cardId: 1 });
|
||||
});
|
||||
|
||||
Attachments.allow({
|
||||
insert(userId, doc) {
|
||||
return allowIsBoardMember(userId, Boards.findOne(doc.boardId));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue