mirror of
https://github.com/wekan/wekan.git
synced 2025-04-24 14:08:31 -04:00
Add check for isActive.
Thanks to xet !
This commit is contained in:
parent
1e9a481451
commit
fe42eb1d01
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ Meteor.startup(() => {
|
|||
const board = Boards.findOne({ _id: boardId });
|
||||
const normalAccess =
|
||||
board.permission === 'public' ||
|
||||
board.members.some(e => e.userId === userId);
|
||||
board.members.some(e => e.userId === userId).isActive;
|
||||
Authentication.checkAdminOrCondition(userId, normalAccess);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue