Lauri Ojansivu
5234d09d15
Org/Team: the 'Propagate Members To Boards' flag now actually propagates.
...
#4737/#5850: the per-org/team orgPropagateMembersToBoards / teamPropagateMembersToBoards flag was stored and shown in the Admin Panel, but the propagateOrgTeamMembersToBoards method that acts on it had NO caller anywhere — dead code, so turning the flag on did nothing. The propagation logic is refactored into exported propagateGroupMembersToBoards(kind, groupId) / propagateAllFlaggedGroupsToBoards() (the Meteor method now delegates to the latter), and the flag setters setTeamPropagateMembersToBoards / setOrgPropagateMembersToBoards now run the propagation for that group when the flag is turned ON. Still strictly add-only (existing board members are never removed/modified) and template boards are skipped; the add-only member computation is extracted to a pure, unit-tested models/lib/propagateMembers.js.
Tests: tests/propagateMembers.test.cjs (9 checks) covers membersToAddToBoard (add-only, de-dup, already-member, invalid inputs) and source guards that both flag-setters propagate on enable, the method delegates to the shared impl, and it stays add-only + board-type-only.
Thanks to xet7 !
2026-07-22 12:15:56 +03:00
..
2026-06-18 04:14:59 +03:00
2026-07-21 22:57:31 +03:00
2026-06-23 16:50:24 +03:00
2026-07-18 01:49:40 +03:00
2026-07-22 12:15:56 +03:00
2026-07-18 18:55:19 +03:00
2026-07-20 03:11:07 +03:00
2026-07-17 03:27:33 +03:00
2026-05-27 20:51:44 +03:00
2026-07-17 03:34:23 +03:00
2026-07-17 03:21:02 +03:00
2026-07-17 03:34:23 +03:00
2026-07-16 17:40:24 +03:00
2026-07-17 03:07:59 +03:00
2026-07-17 01:43:53 +03:00
2026-07-05 23:22:16 +03:00
2026-07-13 09:16:33 +03:00
2026-07-11 01:53:07 +03:00
2026-07-11 00:14:49 +03:00
2026-07-11 00:14:49 +03:00
2026-07-17 03:41:20 +03:00
2026-07-09 09:45:53 +03:00
2026-07-09 09:45:53 +03:00
2026-07-17 03:07:59 +03:00
2026-07-21 19:43:48 +03:00
2026-07-17 03:34:23 +03:00
2026-07-08 23:57:39 +03:00
2026-07-17 03:07:59 +03:00
2026-07-20 03:11:06 +03:00
2026-07-09 02:14:07 +03:00
2026-06-23 08:50:29 +03:00
2026-07-16 17:40:24 +03:00
2026-07-17 03:34:23 +03:00
2026-07-17 18:04:36 +03:00
2026-07-05 23:12:16 +03:00
2026-06-13 17:19:51 +03:00
2026-07-06 11:19:15 +03:00
2026-07-20 13:17:28 +03:00
2026-07-05 22:23:36 +03:00
2026-07-18 02:05:00 +03:00
2026-07-06 13:49:44 +03:00
2026-07-17 03:07:59 +03:00
2026-07-09 09:45:53 +03:00
2026-07-17 03:21:02 +03:00
2026-07-16 17:40:24 +03:00
2026-07-09 02:14:07 +03:00
2026-07-16 17:40:24 +03:00
2026-07-16 18:54:28 +03:00
2026-07-20 03:11:07 +03:00
2026-07-20 04:34:38 +03:00
2026-07-17 23:01:52 +03:00
2026-07-17 03:21:02 +03:00
2026-07-17 03:34:52 +03:00
2026-06-23 16:47:00 +03:00
2026-07-22 10:15:50 +03:00
2026-07-22 10:15:50 +03:00
2026-07-09 02:14:07 +03:00
2026-07-20 03:11:07 +03:00
2026-07-06 18:27:38 +03:00
2026-07-22 11:19:39 +03:00
2026-07-18 18:14:33 +03:00
2026-07-19 18:36:11 +03:00
2026-07-09 02:14:07 +03:00
2026-07-16 19:12:59 +03:00
2026-07-22 10:35:52 +03:00
2026-07-22 10:35:52 +03:00
2026-07-16 17:40:24 +03:00
2026-07-21 10:06:40 +03:00
2026-07-17 15:04:48 +03:00
2026-07-20 03:11:07 +03:00
2026-07-21 18:39:09 +03:00
2026-06-22 15:46:43 +03:00
2026-07-20 03:11:07 +03:00
2026-07-17 16:59:42 +03:00
2026-07-17 23:12:55 +03:00
2026-07-18 01:56:47 +03:00
2026-07-22 09:21:21 +03:00
2026-07-22 10:35:52 +03:00
2026-07-13 09:16:33 +03:00
2026-07-17 03:34:23 +03:00
2026-07-13 09:16:33 +03:00
2026-07-21 18:51:22 +03:00
2026-07-21 19:43:48 +03:00
2026-07-17 03:30:07 +03:00
2026-07-17 03:07:59 +03:00
2026-07-06 16:02:56 +03:00
2026-07-17 03:36:07 +03:00
2026-07-09 09:45:53 +03:00
2026-07-22 09:21:21 +03:00
2026-07-09 02:14:07 +03:00
2026-07-17 03:34:23 +03:00
2026-07-22 09:21:21 +03:00
2026-07-19 18:36:11 +03:00
2026-07-17 03:07:59 +03:00
2026-07-16 10:17:13 +02:00
2026-07-17 03:07:59 +03:00
2026-07-13 09:16:33 +03:00
2026-07-17 03:07:59 +03:00
2026-07-09 09:45:53 +03:00
2026-06-23 16:48:59 +03:00
2026-07-06 15:22:22 +03:00
2026-07-06 11:35:56 +03:00
2026-07-06 01:25:39 +03:00
2026-07-09 09:45:53 +03:00
2026-07-09 02:14:07 +03:00
2026-07-17 16:59:42 +03:00
2026-07-17 16:59:42 +03:00
2026-05-27 20:51:44 +03:00
2026-07-17 04:52:30 +03:00
2026-07-22 10:15:50 +03:00
2026-07-19 18:36:11 +03:00
2026-07-17 03:07:59 +03:00
2026-07-09 10:09:32 +03:00
2026-06-23 16:36:14 +03:00
2026-07-11 00:14:49 +03:00
2026-07-17 23:48:26 +03:00
2026-07-06 10:55:29 +03:00
2026-07-17 03:07:59 +03:00
2026-07-17 03:07:59 +03:00
2026-07-17 03:07:59 +03:00
2026-07-09 02:14:07 +03:00
2026-07-17 18:29:28 +03:00
2026-07-06 15:12:21 +03:00
2026-07-22 12:15:56 +03:00
2026-07-17 03:34:23 +03:00
2026-07-06 10:33:15 +03:00
2026-07-21 10:06:40 +03:00
2026-07-21 10:06:41 +03:00
2026-07-21 10:06:40 +03:00
2026-07-21 10:06:40 +03:00
2026-07-21 10:06:40 +03:00
2026-07-09 02:14:07 +03:00
2026-06-23 08:50:29 +03:00
2026-07-09 02:14:07 +03:00
2026-07-13 09:16:33 +03:00
2026-07-09 09:45:53 +03:00
2026-07-09 02:14:07 +03:00
2026-07-16 17:40:24 +03:00
2026-07-22 10:15:50 +03:00
2026-07-17 03:36:50 +03:00
2026-07-06 10:43:26 +03:00
2026-07-17 03:36:50 +03:00
2026-07-17 21:40:37 +03:00
2026-07-21 10:06:41 +03:00
2026-07-17 03:36:50 +03:00
2026-07-19 18:36:11 +03:00
2026-07-09 09:45:53 +03:00
2026-07-22 09:21:21 +03:00
2026-07-19 12:22:56 +03:00
2026-07-18 19:42:19 +03:00
2026-07-18 19:18:17 +03:00
2026-07-16 17:40:24 +03:00
2026-07-17 20:20:06 +03:00
2026-07-09 02:14:07 +03:00
2026-07-06 01:26:05 +03:00
2026-07-13 09:16:33 +03:00
2026-07-13 09:16:33 +03:00
2026-07-17 03:21:02 +03:00
2026-07-17 03:21:28 +03:00
2026-07-09 09:45:53 +03:00
2026-07-16 18:46:09 +03:00
2026-07-17 03:34:23 +03:00
2026-07-17 03:44:38 +03:00
2026-07-08 23:43:26 +03:00
2026-07-09 09:45:53 +03:00
2026-07-22 12:15:56 +03:00
2026-07-17 20:46:10 +03:00
2026-07-18 00:45:33 +03:00
2026-06-13 17:19:51 +03:00
2026-06-13 20:15:04 +03:00
2026-06-13 17:19:51 +03:00
2026-07-16 20:01:10 +03:00
2026-07-18 02:16:53 +03:00
2026-07-17 18:44:14 +03:00
2026-07-17 23:01:52 +03:00
2026-07-20 03:11:07 +03:00
2026-07-17 03:53:09 +03:00
2026-07-06 11:50:28 +03:00
2026-07-09 09:45:53 +03:00
2025-12-22 23:18:01 +02:00
2026-06-12 20:15:56 +03:00
2026-07-21 19:43:48 +03:00