mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Follow-up to the #6508 import fixes: in the board view, clicking an imported (placeholder) board member's avatar showed no "Remap User" action. The board member popup gates it on isImportedMember(), which checks `authenticationMethod === 'imported'` — but the board composite published board members' user docs with only username / profile.fullname / avatarUrl / initials, WITHOUT authenticationMethod (user-miniprofile, which publishes safeFields incl. authenticationMethod, is only subscribed on the import screen). So the field was undefined on the client and the action never appeared. Publish authenticationMethod with the board members' user fields (it is already in Users.safeFields, so this is consistent and not newly-exposed). The in-board "Remap User" -> mapImportedBoardMember flow now works for imported board members. Test: tests/importVirtualMembers.test.cjs guards the field is published. Thanks to AmigaAbattoir and xet7 ! Fixes #6508,