瀏覽代碼

- Fix "No Comments" permission on Wekan and Trello import.

Thanks to xet7 !
Lauri Ojansivu 6 年之前
父節點
當前提交
0a001d505d
共有 2 個文件被更改,包括 3 次插入0 次删除
  1. 2 0
      models/trelloCreator.js
  2. 1 0
      models/wekanCreator.js

+ 2 - 0
models/trelloCreator.js

@@ -150,6 +150,7 @@ export class TrelloCreator {
         userId: Meteor.userId(),
         isAdmin: true,
         isActive: true,
+        isNoComments: false,
         isCommentOnly: false,
         swimlaneId: false,
       }],
@@ -177,6 +178,7 @@ export class TrelloCreator {
               userId: wekanId,
               isAdmin: this.getAdmin(trelloMembership.memberType),
               isActive: true,
+              isNoComments: false,
               isCommentOnly: false,
               swimlaneId: false,
             });

+ 1 - 0
models/wekanCreator.js

@@ -160,6 +160,7 @@ export class WekanCreator {
         wekanId: Meteor.userId(),
         isActive: true,
         isAdmin: true,
+        isNoComments: false,
         isCommentOnly: false,
         swimlaneId: false,
       }],