summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-09-06 19:29:52 +0300
committerLauri Ojansivu <x@xet7.org>2018-09-06 19:29:52 +0300
commit0a001d505d81961e6bd6715d885fffee0adb702d (patch)
tree131f6d737bfda4f369ddc0793c3ed0f1f7088155 /models
parent66e22a2c8745ca32c49861bb24230413f5a79d76 (diff)
downloadwekan-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.js2
-rw-r--r--models/wekanCreator.js1
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,
}],