Skip to content

Harden unshare - #856

Merged
micbar merged 3 commits into
mainfrom
harden-unshare
Oct 7, 2026
Merged

micbar merged 3 commits into
mainfrom
harden-unshare

Conversation

@micbar

@micbar micbar commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Two independent share manager fixes.

Unshare (pkg/share/manager/jsoncs3) now requires the share creator or RemoveGrant on
the resource. Previously anyone who could read the share could remove it, ListGrants
included. Unmounting a received share is unaffected.

ListPublicShares (pkg/publicshare/manager/json) stat'd every link not created by the
caller, timing out on tenants with thousands of links. Same permission check, but each
resource is now stat'd at most once through a bounded worker pool, within the caller's
deadline.

Comment thread pkg/publicshare/manager/json/json.go Resolved
@micbar
micbar merged commit a2c1dc9 into main Oct 7, 2026
18 of 19 checks passed
@micbar
micbar deleted the harden-unshare branch October 7, 2026 19:08
@openclouders openclouders mentioned this pull request Oct 7, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants