mirror of
https://github.com/wekan/wekan.git
synced 2026-03-13 17:06:13 +01:00
Add checklist feature
This commit is contained in:
parent
38c143b8bf
commit
59731af139
15 changed files with 462 additions and 2 deletions
|
|
@ -5,3 +5,8 @@ allowIsBoardAdmin = function(userId, board) {
|
|||
allowIsBoardMember = function(userId, board) {
|
||||
return board && board.hasMember(userId);
|
||||
};
|
||||
|
||||
allowIsBoardMemberByCard = function(userId, card) {
|
||||
const board = card.board();
|
||||
return board && board.hasMember(userId);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -98,6 +98,7 @@ Meteor.publishRelations('board', function(boardId) {
|
|||
this.cursor(Cards.find({ boardId }), function(cardId) {
|
||||
this.cursor(CardComments.find({ cardId }));
|
||||
this.cursor(Attachments.find({ cardId }));
|
||||
this.cursor(Checklists.find({ cardId }));
|
||||
});
|
||||
|
||||
if (board.members) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue