mirror of
https://github.com/wekan/wekan.git
synced 2026-11-26 20:45:07 -05:00
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 !