v0.6.390: federated shares in the admin Shares list, administrator stop, server removal (#1071) #1080

Merged
Cordy merged 25 commits from ab1071 into main 2026-11-03 02:15:29 +00:00
Owner

Closes #1071.

  • Admin Shares list: federated shares out are listed (o:<providerId>), with a Federated type filter, server search, the CSV server,accepted columns, a federated count in the PDF, and in review counts. An unreadable ledger answers federated-unreadable and locks Export and Mark as reviewed.
  • Administrator stop: single and bulk revoke end federated shares in one write per call, with a read-back, the share-admin-revoke audit, an owner bell and the Ended line "Ended by an administrator". The other server is told in the background.
  • Server removal: each share out ends with reason server-removed, one share-ended audit record per share, a bell, an Ended line and a background notice. The dialog counts shares and owners when it opens.
  • Background sender: large batches now drain through a FIFO backlog instead of marking ends past 260 as not told.
  • Audit: ocm-share-send and ocm-share-end are always recorded (admin tier), with notes naming the share id and the other address. audit-tiers is written at every start. The #1072 verbs are registered.
  • Fixes: ending a federated share that is no longer live answers 409 share-not-live; the bell no longer styles share-admin-revoked items as failed.
  • Docs: CHANGELOG v0.6.390, chart appVersion, sharing / federation-ocm / admin-policy / data-protection handbook pages, ARCHITECTURE.md.

Reviewed per wave (W1-W3) plus a final review with adversarial probes; all findings fixed or in the backlog.

Closes #1071. - **Admin Shares list:** federated shares out are listed (`o:<providerId>`), with a Federated type filter, server search, the CSV `server,accepted` columns, a federated count in the PDF, and in review counts. An unreadable ledger answers `federated-unreadable` and locks Export and Mark as reviewed. - **Administrator stop:** single and bulk revoke end federated shares in one write per call, with a read-back, the `share-admin-revoke` audit, an owner bell and the Ended line "Ended by an administrator". The other server is told in the background. - **Server removal:** each share out ends with reason `server-removed`, one `share-ended` audit record per share, a bell, an Ended line and a background notice. The dialog counts shares and owners when it opens. - **Background sender:** large batches now drain through a FIFO backlog instead of marking ends past 260 as not told. - **Audit:** `ocm-share-send` and `ocm-share-end` are always recorded (admin tier), with notes naming the share id and the other address. `audit-tiers` is written at every start. The #1072 verbs are registered. - **Fixes:** ending a federated share that is no longer live answers 409 `share-not-live`; the bell no longer styles `share-admin-revoked` items as failed. - **Docs:** CHANGELOG v0.6.390, chart appVersion, sharing / federation-ocm / admin-policy / data-protection handbook pages, ARCHITECTURE.md. Reviewed per wave (W1-W3) plus a final review with adversarial probes; all findings fixed or in the backlog.
Also: audit-tiers written at every start (note admin=ocm-share-send,ocm-share-end), its plain-Append exemption in appendctx864_test.go; auditEnableDesc in four languages; qa859 expected EN.
T3 of ab1071 (spec 5, 6.2, 7.1): EndFederatedShare / endFederatedSet end
a set of federated shares out in one ledger pass (read, EndOut, one
read-back with a re-end of records live again, audit share-admin-revoke,
activity, INFO, one OCM.Ended call, tombstones except for an earlier
account's). DELETE /api/v1/admin/shares/o:<pid> and the bulk stop route
through it. ocmServerRemove writes one share-ended per share out, owner
tombstones (reason server-removed), the ocm-server-remove note counts and
an INFO, and hands the ends to OCM.Ended instead of notifying on the
request. The bell folds share-admin-revoked per {at, sub, server} with
sub federated and providerId when it counts one. wireOCMFollow sets
OCM.Ended to the background sender.

TestOCMNotifySecret1057 changed (plan T3): the removal's SHARE_UNSHARED
now goes through an ocm.Unsharer wired as OCM.Ended (Wait before reading
the peer); the ended records end with Told "yes" instead of "pending".
Merge main (v0.6.389) into ab1071
All checks were successful
ci / test-and-build (pull_request) Successful in 1h8m54s
62e3ce9820
Cordy merged commit aa1db972ea into main 2026-11-03 02:15:29 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#1080
No description provided.