mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 16:00:13 +01:00
7 lines
185 B
JavaScript
7 lines
185 B
JavaScript
allowIsBoardAdmin = function(userId, board) {
|
|
return board && board.hasAdmin(userId);
|
|
};
|
|
|
|
allowIsBoardMember = function(userId, board) {
|
|
return board && board.hasMember(userId);
|
|
};
|