mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01:00
comment only working, naive implementation complete
This commit is contained in:
parent
ec9498fa62
commit
de10be6a21
13 changed files with 64 additions and 18 deletions
|
|
@ -6,6 +6,10 @@ allowIsBoardMember = function(userId, board) {
|
|||
return board && board.hasMember(userId);
|
||||
};
|
||||
|
||||
allowIsBoardMemberNonComment = function(userId, board) {
|
||||
return board && board.hasMember(userId) && !board.hasCommentOnly(userId);
|
||||
};
|
||||
|
||||
allowIsBoardMemberByCard = function(userId, card) {
|
||||
const board = card.board();
|
||||
return board && board.hasMember(userId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue