mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
A board a member reaches through one of their teams or organizations, or their e-mail domain, could not be left: without a member entry quitBoard refused it, and with one the board stayed in All Boards through the team. Now leaving such a board puts it in the member's own hidden list (profile.hiddenBoards): All Boards leaves it out, in the paged sorted views and the drag-ordered one, and Member Settings / Hidden boards brings it back with Restore. The team or organization membership is not touched, and access stays the board's own. An All Boards tile of a board the member is not on gets an eye-slash "leave" button; a member who also has the board through a team is both removed and hidden. A board reached only by membership leaves as before. models/lib/boardInvites.js decides (planQuitBoard's hide, reachesBoardOtherwise, hiddenBoardsAfter); tests/hiddenBoards.test.cjs covers team, organization and domain reach, an inactive link, the bound, that the team is not touched and the All Boards filters. tests/boardInvites.test.cjs expects the plan's hide: false where nothing else reaches the board. The new strings are English placeholders until the next translation pass. Thanks to LaureHades and xet7 ! Fixes #4265.