AssignedBleed follow-up, GHSA-r4gm-mjj9-g3x8. An assigned-only member
(isNormalAssignedOnly, isCommentAssignedOnly, isReadAssignedOnly, and custom
roles through those flags) sees only the cards assigned to them. The Board
Email View checked board.isVisibleBy() alone, so it published the title,
description and email metadata of every card in a list or label, counted
them, and searched them. It now merges assignedOnlyCardScope into its folder
and search selector for the page and the count, and a reply on another card
is refused.
An audit of every path that returns or changes a card found the same shape -
"a member of the board, so every card of it" - elsewhere, all fixed here:
- reads: the board publication's ancestor cards, linked source cards with
their subtasks and dependency targets, and comment reactions; All Boards
tile counts; a board's activities from linked boards; the Chat view and
the All Boards feed, which also let card MEMBERS through (assignees is the
rule); My Attachments' card; GET /api/user/cards; position history of a
card; the cross-board subtask picker; Scrum rollover counts; and the
notification publications, which kept sending the full documents of cards
named in old notifications - also to members removed from the board;
- writes on a card the member cannot see: the canonical
canEditCardOrLinkedCard / editableCardIds (every Cards.allow update,
checklists, items, attachments, text notes, custom fields, the shared
description, card methods) now ask the card - the role's `write` is a
board answer, and the card is read when a caller passed it without
assignees; DDP and REST comments, button rules on a card, checklist moves,
issue state, watching, the card-opened webhook, moveBoardObjects,
moveSwimlane and attachment moves;
- REST writes: checkBoardWriteAccess refuses assigned-only members, as
checkBoardAccess already does for reads - those routes act on any card,
list or swimlane by id. The GHSA-f396 canary still fires for a role
without the write capability.
A refusal no view would produce is recorded under AssignedBleed in Admin
Panel -> Problems (authz.assigned, medium: never disables); opening a view,
searching and REST calls are narrowed or refused without a record.
tests/boardRoleViews.test.cjs runs the Email View selector, pins every path
above, and fails when any server file that serves card data has no role
rule and no stated exemption; the "assignee or card member" rule is
rejected anywhere in server/ and models/. server/lib/tests/editableCardIds
adds an assigned-only case for both edit checks (meteor test; not run here).
Seven guards that pinned the old lines now pin the new ones.
Thanks to crypto-nidh, binary-lover and xet7 !
An import that stopped halfway - a restart, a hung writer, a failure - left a
partial board nothing recorded. Each board import, copy, Trello zip and
Trello API import now writes an importRuns record first, with the id its new
board will have; every creator inserts the board with that id and the run's
id stamped on it. A heartbeat keeps the run alive; the method deadline now
stops the writer at its next step. A scan at startup and every 5 minutes
flags a stopped or failed run once and records it in Admin Panel ->
Problems -> Recovery, where an administrator keeps the partial board or
discards it: only the board carrying the run's stamp is removed, through the
board's own removal, then whatever else has its id. Discard is refused while
the import's Scrum stage is still written or recovered, and the Scrum resume
is refused while the import is discarded. Resume is deliberately not
offered: the source file is not kept, for its size, its personal data and
the anonymization it would undo; discard and import again instead.
Thanks to xet7 !
Every Scrum import used to create a new board. A board administrator can
now import a native wekan-scrum-2 transfer, or a WeKan board export, into
a board that already exists, from the Sprints view: Preview shows what
would change and writes nothing, Import writes it.
Sprints and releases are matched by ID on this board, then by
provenance, then by a name exactly one record has on each side; the rest
are created once with the source's provenance, so importing the same
file again changes nothing. Cards are matched by ID, or by card number
and title, and never created; unmatched, ambiguous and other boards'
cards are reported and left alone. Matched cards get the file's sprint,
releases, backlog rank, issue type and acceptance criteria; a move into a
finished sprint is refused. The writes go through the journaled Scrum
import stage, so an interrupted import is finished or discarded the same
way, and are recorded as one Scrum History change.
Thanks to xet7 !
A Scrum History undo, redo or restore keeps a checkpoint that blocks every
Scrum edit on its board until it finishes, and only its author could retry
it, with the same plan. When somebody else had changed one of its records,
its History row changed or its author lost write access, every retry failed
the same way, the checkpoint could not be discarded online or offline, and
the board's Scrum edits stayed blocked for good.
A retry that fails for a reason the next one would meet again now marks its
checkpoint. A board administrator sees such a checkpoint in the History
recovery notice and can roll it back, which restores every record it wrote
to the saved "before" value and revision and is offered only when nobody
changed those records since and none of its History was written, or keep the
board as it is, which removes the checkpoint and writes nothing while
reporting how much of the operation had been written. A checkpoint that has
not stopped on a conflict stays its author's to retry. The resolution names
the checkpoint it resolves, so a repeat is a no-op; it claims the checkpoint
by compare-and-set, fencing the author's workers, waits for an in-flight
write, and checks every record before and after its own writes. Each one is
recorded in Admin Panel / Problems / Recovery. The offline command
releases/recover-scrum-history.cjs does the same with every writer stopped.
Unit, integration (against MongoDB 7), Meteor and Playwright tests cover
rollback, discard, refusals, concurrency and the offline command. New text
is in English, pending Transifex.
Thanks to xet7 !
A card had exactly one release, scrum.releaseId. Jira import kept only the
first fix version of an issue and reported the rest as lost, Jira export
wrote no fix versions at all, and the card UI could not show or pick more
than one release.
A card's releases are now a list, scrum.releaseIds, with releaseId kept as
its first entry so older servers, importers and REST readers still see one.
Existing cards are not migrated: every reader goes through cardReleaseIds(),
which reads the list and the old single field the same way, so cards saved
either way work side by side, and a card moves to the new form on its next
Scrum save. A save with releaseIds replaces the list; a save with only
releaseId, from an older client, replaces the first release and keeps the
others, and null clears them. Every release must belong to the board,
checked in one query; duplicates collapse and a releaseId that contradicts
the list is refused.
Copies and moves to another board link each release by name. The native
transfer writes one release exactly as before and adds releaseIds only for
cards with several, and remaps each of them on import. Jira import maps every
fix version and Jira export writes them all as fixVersions. Board View /
Sprints shows each release's cards and how many are done, counting a card in
each of its releases. Scrum History checks and guards every release, and
rule e-mails name them all. The Product Backlog and card details use a
multiple select.
tests/scrumMultipleReleases.test.cjs covers the rules and fails if any code
reads the single field directly; a Playwright spec drives the UI. New text is
in English, pending Transifex.
Thanks to xet7 !
The background rollover and the background undo or redo of a large batch
were resumed by every server that found them after a restart; two of them
on one job wrote alike, and the card writes' compare-and-set stopped one
with a conflict the Scrum view showed as a failure. Each step now first
takes or renews a lease on the sprint or the job, one minute long, that a
server which went away loses when it runs out. A live lease of another
server leaves the job to it: a retried close says the rollover is running
there, and undo and redo on the board wait. The lease is not History
content and is not sent to the browser.
Tests: a foreign live lease leaves both the rollover and the undo job
untouched, and an expired one is taken over.
Thanks to xet7 !
As decided on 2026-10-03, every per-card guard stays, and the browser
never waits on one call for the whole of a large sprint:
- A close of more than one chunk (2,000 cards) returns once the sprint is
closed and its plan stored; its rollover continues in the background,
chunk by chunk under the board's lock, recorded under the close's named
History batch. Its progress is on the sprint, a failure is kept there for
the Scrum view's resume button, and a restart resumes it. A smaller
sprint is still closed and rolled over in one History row in the call.
- An undo or redo whose batch has more than four rows left applies the
first row in the call and the rest as a background job (scrumBatchJobs),
as the user who asked and with the same derived request IDs, so a retry
or a restart resumes it. Undo and redo on that board wait for it.
- The Scrum view shows both as progress bars and polls quietly while one
runs.
The board-copy, native-import and Scrum menu specs read snapshot rows
through a helper now that they live outside the sprint, and the sprint
report's chart is no longer counted together with the daily and
change-by-change charts below it, which loaded in WebKit first.
Thanks to xet7 !
A sprint over 10,000 cards was refused at start and close. With the
snapshot rows already outside the sprint document, the rest now is too:
- The rollover plan of a close goes to its own collection,
scrumRolloverRows, in chunks bounded by rows and bytes; the sprint keeps
only rolloverPending: true. A chunk is applied, its cards read at once,
and removed; the mark is cleared when none is left. A plan kept in the
sprint document before this is still finished as it was.
- A Scrum History batch too large for one row is recorded as several rows
sharing a batchId, each at most 1,000 records and 3 MB a side. A record
is in exactly one row, and undo and redo walk the whole batch, with or
without a request ID, so one undo still reverses a whole close.
- Daily burndown observations keep their rows in scrumSnapshotRows too.
- No 10,000-card limit is left: snapshot inputs, daily capture, scope
replay, the daily report and the transfer read every card.
Undoing a batch re-hashed its whole History row and sent its whole plan as
a selector before every record write, so a 1,500-card undo took four
minutes. The row is now checked whole when the operation begins and by
its identity fields after that, and the worker check uses the plan's
identity and the worker's random id - nothing ever rewrites a pending
plan. A 10,500-card sprint closes in 8 s and undoes in 44 s.
Thanks to xet7 !
A sprint's start and close snapshots kept one row per card inside the
sprint document, so a sprint over about 15,000 cards could not be closed.
The rows now go to their own collection, scrumSnapshotRows, in immutable
chunks of 2,000 named by sprint, kind, snapshot time and chunk number, so a
retried start or close, an undo or a redo finds the same rows. The sprint
keeps a header and the report's totals, computed from all rows.
The board data computes each sprint's report on the server and sends only
snapshot headers: from the stored totals, or for an assigned-only reader
from the rows they may see. The scope replay, the transfer export and the
board copy read the rows from wherever they are kept; the transfer import
writes them back as chunks through the import journal. Snapshots stored
inline before this keep working.
Thanks to xet7 !
An interrupted Scrum import could only be continued by the offline
recovery command, with every writer stopped, because nothing told a
crashed import from a paused one. The import's checkpoint now names its
writer and carries a lease the writer renews at each step. Once the
lease runs out, a board administrator can finish the import from the
Scrum view: the recovery takes the checkpoint over by compare-and-set
and replays the saved steps. A writer that was only paused is fenced out
at its next checkpoint update, and the steps are idempotent. An import
whose plan was never fully saved can be discarded, which writes nothing
to the board. Its contents cannot be rebuilt, because the source file is
not kept. Rollback stays offline. Checkpoints from before this change
are taken over at once, since their writer did not survive a restart.
Thanks to xet7 !
Opening a board's Scrum view checked every card's edit permission one
at a time, querying each card's links and then their boards. One batch
now answers the same for all of the board's cards, and a server test
confirms it agrees with the per-card check for writers, read-only and
comment-only members, and outsiders with links. The Product Backlog and
Sprints tables, whose rows each carry an edit form, show 100 rows at a
time in Scrum order, with a button to show more. New interface text is
in English, pending Transifex.
Thanks to xet7 !
Sprint Report gains a section that replays every recorded change since
the sprint started: cards joining or leaving it, estimate changes,
completion, moves to done lists, and archiving. It shows scope, remaining
and completed work after each change; the daily observations sample the
same sprint only once a day. Each card's state at the start is
reconstructed backwards from its current state through those History
rows. The result is checked against the sprint's own start and close
snapshots and, for an open sprint, against the cards as they are now.
Any mismatch means History missed a write, and the report says so
instead of presenting the numbers as fact. Assigned-only readers see
their own cards, marked partial. New interface text is in English,
pending Transifex.
Thanks to xet7 !
Scrum History judged "the record has the expected values and revision"
as proof of which record it was. One deleted and recreated under the
same _id - a restore by someone else - passed that test, so a retried
undo could delete a record from another lifetime. Maintainer decision
of 2026-09-30: every Scrum sprint, release and event now carries a
random incarnation per lifetime, set where it is created (the Scrum
methods, a board transfer import's plan, and a Scrum History restore).
A new checkpoint records the incarnation each target has and, for a
record it creates, the one it will have, chosen before writing so a
replay recognizes its own insert; the write-state check refuses any
other lifetime. History content never carries an incarnation, so a
restore always starts a new lifetime, and an update never unsets it.
Checkpoints and records from before incarnations keep working as they
did, and their completion identity is unchanged.
Unit tests cover every state with and without incarnations and the
planned lifetimes; a full-app test creates, undoes and redoes a sprint,
then replaces it with an identical record of another lifetime mid-undo:
the retry refuses and leaves it, where the previous code deleted it.
562 server tests pass.
Thanks to xet7 !
Reject oversized rollover, compound History and recovery payloads before the first lifecycle write using BSON byte counts. Cover multibyte data, complete 10000-card plans and large-metadata rejection/retry in Chromium.
Thanks to xet7 !
Fetch projected inputs with an overflow sentinel before start or close, reject oversized card/list sets without partial snapshots, and index done-list membership once. Cover exact limits and unchanged lifecycle/History on rejection with unit and Chromium tests.
Thanks to xet7 !
Stage private per-document recovery steps before destination writes and retain board-level pending state through marker cleanup. Preserve stable IDs and exact before/after values for interrupted writes. Public coordinated replay and rollback remain unfinished.
Reject Scrum mutations and History changes until imported data is complete. Remove editing capabilities, show the pending warning and return a clear 409 for report downloads. Verify exclusion and normal access after the importer clears its marker.
Thanks to xet7 !
Share the bounded history reader with report downloads. Preserve exact UTC capture times, estimate policies, unknown counts and partial or truncated result notices. Verify real workbooks and extracted PDF text through the application.
Thanks to xet7 !
Keep the first actual observation of each UTC day, preserve unknown estimates, and bound history reads. Verify retry and concurrent capture behavior with MongoDB and reader permissions with Chromium.
Thanks to xet7 !
Resume using the stored revision and rollover destination, and reject retries while a History recovery checkpoint is pending. Add browser coverage for successful recovery, read-only denial and pending History exclusion.
Thanks to xet7 !
Validate before import side effects, allocate destination planning IDs and remap cards, lists, fields, users and snapshots. Preserve source provenance and expose bounded loss reports to board administrators without granting permissions.
Thanks to xet7 !
Record compound sprint transitions in existing board History, preserve unrelated card data and enforce current per-item permissions. Keep recovery checkpoints until timeline and undo status are finalized.
Thanks to xet7 !
Reuse board permissions, card estimates and chart exports for Product Backlog, Sprints, Sprint Report and Velocity views. Add revision-checked sprint lifecycle, recoverable rollover, release/event creation and independently hidden metadata controls. Explicitly label assigned-only reports as partial.
Verified 12 focused Node checks, a real Meteor/Mongo lifecycle regression and three Chromium scenarios including settings visibility, denial paths and actual Excel/PDF files. History integration, full transfer mappings and further report/editor work remain tracked in the Scrum design.
Thanks to xet7 !