diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-09-04 20:52:45 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-09-04 20:52:45 +0300 |
commit | 372174232725eb73df86cf4f3b38e3c7db55978a (patch) | |
tree | d608bd8a531cee0854a618ca8aec65a12c41cc66 /models/swimlanes.js | |
parent | 0c351f4864ba1db3a23098723a7fe029f9cd3248 (diff) | |
parent | 910771708a1ec37d198e2a0589aad2f035fcb4ff (diff) | |
download | wekan-372174232725eb73df86cf4f3b38e3c7db55978a.tar.gz wekan-372174232725eb73df86cf4f3b38e3c7db55978a.tar.bz2 wekan-372174232725eb73df86cf4f3b38e3c7db55978a.zip |
Merge branch 'devel'
Diffstat (limited to 'models/swimlanes.js')
-rw-r--r-- | models/swimlanes.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/models/swimlanes.js b/models/swimlanes.js index 72ef3f36..3559bcd2 100644 --- a/models/swimlanes.js +++ b/models/swimlanes.js @@ -46,13 +46,13 @@ Swimlanes.attachSchema(new SimpleSchema({ Swimlanes.allow({ insert(userId, doc) { - return allowIsBoardMemberNonComment(userId, Boards.findOne(doc.boardId)); + return allowIsBoardMemberCommentOnly(userId, Boards.findOne(doc.boardId)); }, update(userId, doc) { - return allowIsBoardMemberNonComment(userId, Boards.findOne(doc.boardId)); + return allowIsBoardMemberCommentOnly(userId, Boards.findOne(doc.boardId)); }, remove(userId, doc) { - return allowIsBoardMemberNonComment(userId, Boards.findOne(doc.boardId)); + return allowIsBoardMemberCommentOnly(userId, Boards.findOne(doc.boardId)); }, fetch: ['boardId'], }); |