Role change, enable/disable, and project add/remove on the selected
rows, wired to the T12.1 endpoints. Delete is T12.5.
- The toolbar offers only what the caller may do: grantable roles,
managed projects (archived last, marked), grantable per-project roles.
- Every action confirms through wpConfirmDialog naming the exact count
(and for projects, the project and role) before anything is sent.
- The result lists every failed row with the server's reason, plus the
changed / already-set counts; a partial failure is a warning, an
all-failed batch an alert, a server error says nothing was changed.
Never a blanket success. Announced through the live-region banner.
- The directory reloads afterwards, which clears the selection.
DOM harness (jsdom, real page and scripts, mocked API): 30/30 with
T12.2.