summaryrefslogtreecommitdiffstats
path: root/server/lib/utils.js
blob: b59671fba08cfc5f3f22f3acc621d527d87e669a (plain)
1
2
3
4
5
6
7
allowIsBoardAdmin = function(userId, board) {
  return board && board.hasAdmin(userId);
};

allowIsBoardMember = function(userId, board) {
  return board && board.hasMember(userId);
};