diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-09-06 19:29:52 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-09-06 19:29:52 +0300 |
commit | 0a001d505d81961e6bd6715d885fffee0adb702d (patch) | |
tree | 131f6d737bfda4f369ddc0793c3ed0f1f7088155 /models | |
parent | 66e22a2c8745ca32c49861bb24230413f5a79d76 (diff) | |
download | wekan-0a001d505d81961e6bd6715d885fffee0adb702d.tar.gz wekan-0a001d505d81961e6bd6715d885fffee0adb702d.tar.bz2 wekan-0a001d505d81961e6bd6715d885fffee0adb702d.zip |
- Fix "No Comments" permission on Wekan and Trello import.
Thanks to xet7 !
Diffstat (limited to 'models')
-rw-r--r-- | models/trelloCreator.js | 2 | ||||
-rw-r--r-- | models/wekanCreator.js | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/models/trelloCreator.js b/models/trelloCreator.js index 30f0bc2b..b5a255cc 100644 --- a/models/trelloCreator.js +++ b/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, }); diff --git a/models/wekanCreator.js b/models/wekanCreator.js index 4551979b..d144821f 100644 --- a/models/wekanCreator.js +++ b/models/wekanCreator.js @@ -160,6 +160,7 @@ export class WekanCreator { wekanId: Meteor.userId(), isActive: true, isAdmin: true, + isNoComments: false, isCommentOnly: false, swimlaneId: false, }], |