mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 21:17:18 -04:00
Fix checkBoardAccess authentication check
This commit is contained in:
parent
a4dbe98299
commit
2c4d3fa317
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).isActive;
|
||||
board.members.some(e => e.userId === userId && e.isActive);
|
||||
Authentication.checkAdminOrCondition(userId, normalAccess);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue