Files
wekan/server/models
Lauri Ojansivu d3a94fd2d9 Close StaleBleed and ManageBoardBleed siblings: removed members no longer reach board ids or copies.
GET /api/user and the attachmentMigrationStatuses publication found the
caller's boards with a dotted 'members.userId', which also matches boards the
caller was removed from, so a removed member kept seeing those board ids (and
the publication looked for public boards by a field that does not exist). Both
match active memberships now, and boards readable without membership by the
shared rule. POST /api/boards/:boardId/copy hand-wrote its admin check without
isActive, so a removed former admin could still copy the board; it uses
Authentication.checkBoardAdmin. Negative tests fail on any REST handler or
publication that finds the caller's boards by a dotted members.userId, or that
hand-writes the admin check.

Thanks to xet7 !
2026-10-02 11:19:19 +03:00
..
2026-06-06 02:53:58 +03:00