mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
Decided by the maintainer on 2026-11-18 (TODO.md). Deleting, archiving, restoring or moving a list, and deleting, archiving or moving a swimlane, does the same to the cards in it, so a list that refuses a role write access (#4527) now refuses those too: - lists.softRemove, lists.restore and moveList answer not-authorized; - the REST list DELETE, archive, unarchive and move, and the REST swimlane DELETE, answer 403, recorded as ListLockBleed; - moveSwimlane is refused when a list holding its cards, or bound to it, refuses the role (swimlaneRefusingListIds); - client writes meet new Lists and Swimlanes deny rules, and the list menu no longer offers Archive list or Archive all cards in such a list. Renaming, recolouring and reordering are not refused, and board admins are never restricted. tests/listLockStructure.test.cjs runs the swimlane gate and pins every path; list-lock-bulk.e2e.js replays the REST cases. Sandboxed route tests get a pass-through gate. Thanks to xet7 !