mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
A member refused write access to a list could move the whole swimlane to another board with POST /api/boards/:boardId/swimlanes/:swimlaneId/move: the route asked only for board write access, and the locked list's cards landed in lists on the other board with no exceptions, where the member could edit or delete them. Now the route refuses with 403 when a list holding the swimlane's cards refuses the caller's role, and the attempt is shown in Admin Panel / Problems as ListLockMoveBleed (authz.list-locked-move). A test fails when any server code moves a swimlane without asking the gate. Also: a card move outside a Meteor method read Meteor.userId(), which throws on the server there, so every REST swimlane move answered 500 after its first card had moved. The mover is read without throwing. GHSA-394w-8q99-q4qx. Thanks to adityasunny06help-coder and xet7 !