v0.6.370: share items from a space with non-members (#1035) #1041

Merged
Cordy merged 20 commits from rs1035 into main 2026-10-28 22:24:46 +00:00
Owner

Batch S1035, research + mockup approved (2026-10-28), spec decisions 1-21 (2026-10-29), strings approved.

  • Items in a space can be shared with people and groups who are not members; per-space rule (owner only by default / members with write) under an instance cap (space decides / owners only / nobody); shares belong to the space; owner's Sharing dialog (Shares + Settings, CSV); recipients see /shared/ (Space)/…; Until; no re-sharing (incl. links, peering, OCM); space root: person/group refused, root links owner-only with confirm, admin "Links to a whole space"; devices can bind inside a space share; directory leave noticed; former names resolve.
  • Lifecycle: moves inside carry shares, WebDAV move out refused (REST asks first), trash pauses/restore resumes/purge ends, trash-off delete ends, folder overwrite parks shares with the replaced folder, Office save keeps the share.
  • Share store: record-level writes with a 10 s re-read (closes the per-process FileStore item).

Three reviews, three fix rounds; full suite, vet, gofmt and web suite green locally.

Batch S1035, research + mockup approved (2026-10-28), spec decisions 1-21 (2026-10-29), strings approved. - Items in a space can be shared with people and groups who are not members; per-space rule (owner only by default / members with write) under an instance cap (space decides / owners only / nobody); shares belong to the space; owner's Sharing dialog (Shares + Settings, CSV); recipients see /shared/<space> (Space)/…; Until; no re-sharing (incl. links, peering, OCM); space root: person/group refused, root links owner-only with confirm, admin "Links to a whole space"; devices can bind inside a space share; directory leave noticed; former names resolve. - Lifecycle: moves inside carry shares, WebDAV move out refused (REST asks first), trash pauses/restore resumes/purge ends, trash-off delete ends, folder overwrite parks shares with the replaced folder, Office save keeps the share. - Share store: record-level writes with a 10 s re-read (closes the per-process FileStore item). Three reviews, three fix rounds; full suite, vet, gofmt and web suite green locally.
# Conflicts:
#	internal/audit/verbs.go
# Conflicts:
#	web/static/index.html
#	web/test/qa693.test.js
Drop B5's duplicate shFromSpace I18N line; U2 owns the key (same text in all four languages).
Conflicts in web/static/index.html (Shares admin tab) resolved as unions:
both chips (#1035 Made by former members, #654 Creator departed), both
filter keys in clearOnFilterChange/shareMatches/shFilter, both wirings and
chip renders, shApplyRoute kept. Shared by cell: #1035's space cell, and
the #654 Departed users link on a frozen personal record (space records
are never frozen).

#654 code paths now skip space records like #1035 AD's owners.go does:
departedUsers neither counts a maker's space shares/links as theirs nor
asks liveness for them; planUnread (estate, delete unread, link revoke)
skips SpaceID records. Test: merge654x1035_test.go.
Cordy merged commit 24d3d9852c into main 2026-10-28 22:24:46 +00:00
Cordy deleted branch rs1035 2026-10-28 22:24:51 +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#1041
No description provided.