Lauri Ojansivu
479f530da0
Board filter matches re-check the board's access, not only its observer.
...
card-text-filter failed intermittently in the EVERYTHING runs: after a
member's assigned-only restriction was lifted, the text-filter matches
never widened again (still one match after 100 s). Instrumented on the
polling test server, the failing subscription's board observer delivered
its initial add and then nothing - neither the narrowing nor the widening
write - while the card observers of the same board kept firing; the
narrowing only applied because a card edit happened to trigger a rescan.
With nothing after the widening, nothing rescanned. The same stall would
also have kept a NARROWED member's old matches, which is an access leak.
publishBoardMatches (text matches, movement matches, table pages) now also
re-reads the board every 10 s and rescans when its access fields -
permission, members and the provider's own board fields - differ from
the ones the published result was computed from, unreadable boards
included. An unchanged board does not rescan.
tests/boardTextPublication.test.cjs widens, narrows and revokes with the
observer silent and only the re-check firing; both tests fail on the
previous code. card-text-filter passed 3 of 3 in Firefox afterwards.
Thanks to xet7 !
2026-10-07 23:46:07 +03:00
..
2026-10-03 14:26:15 +03:00
2026-10-07 16:15:44 +03:00
2026-10-02 14:27:59 +03:00
2026-09-26 01:27:36 +03:00
2026-09-28 15:13:39 +03:00
2026-09-28 15:13:39 +03:00
2026-09-28 15:04:37 +03:00
2026-09-28 15:13:39 +03:00
2026-09-28 14:39:16 +03:00
2026-09-28 14:39:16 +03:00
2026-09-28 15:04:37 +03:00
2026-09-28 15:13:39 +03:00
2026-08-29 12:50:20 +03:00
2026-08-21 23:41:09 +03:00
2026-09-28 21:46:56 +03:00
2026-09-28 21:46:56 +03:00
2026-09-28 01:38:20 +03:00
2026-06-20 14:39:41 +03:00
2026-09-27 22:48:13 +03:00
2026-08-22 23:50:26 +03:00
2026-09-06 02:28:46 +03:00
2026-09-28 23:56:20 +03:00
2026-10-02 11:37:40 +03:00
2026-06-20 17:45:43 +03:00
2026-10-05 21:11:12 +03:00
2026-08-26 22:41:44 +03:00
2026-10-02 10:31:23 +03:00
2026-09-28 21:46:56 +03:00
2026-09-29 15:48:34 +03:00
2026-06-20 19:16:35 +03:00
2026-09-28 18:19:22 +03:00
2026-10-03 10:26:48 +03:00
2026-09-28 19:19:26 +03:00
2026-09-28 18:13:46 +03:00
2026-10-02 11:31:24 +03:00
2026-10-02 11:21:50 +03:00
2026-10-02 11:20:58 +03:00
2026-09-10 23:34:20 +03:00
2026-06-23 08:50:29 +03:00
2026-09-29 00:13:43 +03:00
2026-06-20 17:44:51 +03:00
2026-09-28 17:48:00 +03:00
2026-06-20 14:38:28 +03:00
2026-09-10 19:56:48 +03:00
2026-06-20 17:45:43 +03:00
2026-09-15 00:54:45 +03:00
2026-06-20 19:17:01 +03:00
2026-10-02 11:02:21 +03:00
2026-09-28 00:53:59 +03:00
2026-07-20 03:11:07 +03:00
2026-09-05 23:51:02 +03:00
2026-09-07 17:03:59 +03:00
2026-06-20 19:17:01 +03:00
2026-09-11 21:31:10 +03:00
2026-09-11 11:23:53 +03:00
2026-07-27 17:17:36 +03:00
2026-08-29 06:01:39 +03:00
2026-06-20 19:54:30 +03:00
2026-07-28 12:13:03 +03:00
2026-09-28 00:53:59 +03:00
2026-09-20 19:04:58 +03:00
2026-06-20 14:38:50 +03:00
2026-09-28 19:35:19 +03:00
2026-09-30 10:52:45 +03:00
2026-09-28 14:06:15 +03:00
2026-09-28 03:25:40 +03:00
2026-09-28 14:06:15 +03:00
2026-09-28 14:06:15 +03:00
2026-09-28 03:25:40 +03:00
2026-09-28 13:49:39 +03:00
2026-09-06 10:30:27 +03:00
2026-08-16 14:57:18 +03:00
2026-07-20 04:34:38 +03:00
2026-07-20 03:11:07 +03:00
2026-09-05 23:51:02 +03:00
2026-08-09 03:29:20 +03:00
2026-09-22 18:37:38 +03:00
2026-09-25 01:42:55 +03:00
2026-10-05 19:48:48 +03:00
2026-09-28 16:56:07 +03:00
2026-09-28 16:34:02 +03:00
2026-09-30 11:03:37 +03:00
2026-09-05 23:51:02 +03:00
2026-09-28 02:25:44 +03:00
2026-10-02 11:26:35 +03:00
2026-09-05 00:15:18 +03:00
2026-09-30 11:03:37 +03:00
2026-06-20 14:40:13 +03:00
2026-09-29 16:05:24 +03:00
2026-09-29 16:05:24 +03:00
2025-05-13 19:45:08 +01:00
2026-09-10 20:51:52 +03:00
2026-09-30 10:52:45 +03:00
2026-09-30 10:52:45 +03:00
2026-09-11 23:28:44 +03:00
2026-09-22 19:07:14 +03:00
2026-06-20 17:45:43 +03:00
2026-07-17 03:07:59 +03:00
2026-09-14 02:48:27 +03:00
2026-09-29 18:41:21 +03:00
2026-10-02 20:58:00 +03:00
2026-06-20 19:17:01 +03:00
2026-10-03 00:22:57 +03:00
2026-09-27 21:57:42 +03:00
2026-10-02 15:09:58 +03:00
2026-09-28 03:49:38 +03:00
2026-10-03 11:56:19 +03:00
2026-09-27 22:03:34 +03:00
2026-09-30 11:50:04 +03:00
2026-09-28 03:49:38 +03:00
2026-09-28 00:34:27 +03:00
2026-10-02 19:34:47 +03:00
2026-10-03 14:26:15 +03:00
2026-09-27 23:53:07 +03:00
2026-09-27 23:53:07 +03:00
2026-07-19 12:45:03 +03:00
2026-10-02 10:31:23 +03:00
2026-08-04 12:09:37 +03:00
2026-09-10 16:21:52 +03:00
2026-08-18 23:07:48 +03:00
2026-08-04 12:09:37 +03:00
2026-09-28 13:36:02 +03:00
2026-09-11 11:23:53 +03:00
2026-09-28 13:36:02 +03:00
2026-09-10 20:27:34 +03:00
2026-09-23 20:31:35 +03:00
2026-07-26 03:18:31 +03:00
2026-09-28 13:11:17 +03:00
2026-09-23 20:31:35 +03:00
2026-10-07 23:46:07 +03:00
2026-09-06 10:30:27 +03:00
2026-06-20 19:16:35 +03:00
2026-07-23 15:03:42 +03:00
2026-09-06 02:28:46 +03:00
2026-09-26 01:27:36 +03:00
2026-06-23 16:50:24 +03:00
2026-06-23 08:50:29 +03:00
2026-08-25 19:29:41 +03:00
2026-06-20 19:17:00 +03:00
2026-09-04 21:29:31 +03:00
2026-09-28 21:07:14 +03:00
2026-09-28 20:29:08 +03:00
2026-10-02 11:21:50 +03:00
2026-09-28 21:07:14 +03:00
2026-09-28 20:35:33 +03:00
2026-09-28 20:11:49 +03:00
2026-09-28 20:05:27 +03:00
2026-09-28 21:02:59 +03:00
2026-09-28 19:25:40 +03:00
2026-09-28 19:28:24 +03:00
2026-10-03 14:26:15 +03:00
2026-09-29 14:34:18 +03:00
2026-09-28 02:30:48 +03:00
2026-10-02 16:45:01 +03:00
2026-10-03 09:49:31 +03:00
2026-10-03 00:38:38 +03:00
2026-10-03 01:47:19 +03:00
2026-10-03 09:31:44 +03:00
2026-09-28 23:43:32 +03:00
2026-10-03 01:47:19 +03:00
2026-10-03 01:47:19 +03:00
2026-09-28 23:43:32 +03:00
2026-09-28 23:43:32 +03:00
2026-09-28 16:56:07 +03:00
2026-09-28 17:13:49 +03:00
2026-09-30 10:20:20 +03:00
2026-09-27 22:55:36 +03:00
2026-10-03 00:38:38 +03:00
2026-10-02 21:02:28 +03:00
2026-10-03 01:47:19 +03:00
2026-10-02 20:53:38 +03:00
2026-10-03 01:47:19 +03:00
2026-10-03 01:47:19 +03:00
2026-10-03 01:47:19 +03:00
2026-10-03 01:47:19 +03:00
2026-10-03 01:47:19 +03:00
2026-10-02 10:44:08 +03:00
2026-10-02 10:31:23 +03:00
2026-08-11 15:50:31 +03:00
2026-08-23 00:16:15 +03:00
2026-09-28 13:49:39 +03:00
2026-09-28 13:49:39 +03:00
2026-09-06 02:28:46 +03:00
2026-07-19 14:00:25 +03:00
2026-10-03 11:56:19 +03:00
2026-09-30 11:03:37 +03:00
2026-09-14 12:09:35 +03:00
2026-09-14 12:09:35 +03:00
2026-06-20 19:54:54 +03:00
2026-06-20 19:54:30 +03:00
2026-09-30 02:00:42 +03:00
2026-10-03 00:08:13 +03:00
2026-09-28 04:08:03 +03:00
2026-09-28 14:15:55 +03:00
2026-09-28 04:08:03 +03:00
2026-09-28 04:20:50 +03:00
2026-10-02 18:19:02 +03:00
2026-09-30 11:50:04 +03:00
2026-10-02 18:27:47 +03:00
2026-09-28 04:37:02 +03:00
2026-09-28 04:33:45 +03:00
2026-09-27 22:03:34 +03:00
2026-10-03 00:08:13 +03:00
2026-10-03 00:08:13 +03:00
2026-09-30 11:39:05 +03:00
2026-10-02 18:19:02 +03:00
2026-09-30 11:29:44 +03:00
2026-10-02 19:34:47 +03:00
2026-09-28 01:59:40 +03:00
2026-09-28 04:17:46 +03:00
2026-09-30 11:39:05 +03:00
2026-10-02 18:27:47 +03:00
2026-10-03 00:08:13 +03:00
2026-09-28 16:21:11 +03:00
2026-09-28 16:12:55 +03:00
2026-09-28 16:15:36 +03:00
2026-10-03 09:44:45 +03:00
2026-10-03 09:44:45 +03:00
2026-09-30 11:52:30 +03:00
2026-10-03 00:22:57 +03:00
2026-10-03 00:22:57 +03:00
2026-10-03 00:22:57 +03:00
2026-10-02 18:09:48 +03:00
2026-10-02 16:58:24 +03:00
2026-09-28 15:46:13 +03:00
2026-09-28 20:23:01 +03:00
2026-09-30 01:46:04 +03:00
2026-09-30 11:42:51 +03:00
2026-09-30 01:46:04 +03:00
2026-09-30 01:46:04 +03:00
2026-09-30 10:23:15 +03:00
2026-09-30 10:23:15 +03:00
2026-09-28 15:32:58 +03:00
2026-10-03 00:22:57 +03:00
2026-10-03 09:44:45 +03:00
2026-10-03 09:59:43 +03:00
2026-10-03 09:44:45 +03:00
2026-09-30 11:42:51 +03:00
2026-09-30 11:42:51 +03:00
2026-10-03 09:44:45 +03:00
2026-09-28 00:28:58 +03:00
2026-09-28 00:34:27 +03:00
2026-09-28 04:08:03 +03:00
2026-10-03 00:08:13 +03:00
2026-09-28 05:36:48 +03:00
2026-09-28 13:11:17 +03:00
2026-09-30 11:39:05 +03:00
2026-09-30 11:39:05 +03:00
2026-10-05 19:48:48 +03:00
2026-09-28 19:19:26 +03:00
2026-07-26 07:59:30 +03:00
2026-08-16 14:57:18 +03:00
2026-09-28 00:53:59 +03:00
2026-09-28 04:50:47 +03:00
2026-08-13 19:44:31 +03:00
2026-09-10 20:04:07 +03:00
2026-07-06 11:50:28 +03:00
2026-10-02 10:29:07 +03:00
2026-06-20 19:54:30 +03:00