Skip to content

fix(eventsmiddleware): read the grantee group of removed shares into the group id - #981

Merged
butonic merged 1 commit into
mainfrom
fix/share-removed-grantee-group
Nov 6, 2026
Merged

butonic merged 1 commit into
mainfrom
fix/share-removed-grantee-group

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Removing a group share now emits a ShareRemoved event with the group in GranteeGroupID.

ShareRemoved read the granteegroupid opaque value into userid, so the group id ended up in GranteeUserID and GranteeGroupID stayed nil. clientlog then treated the group as a user and didn't resolve its members, so most group members never got the share-removed SSE, and a removed group share stayed in their "Shared with me" in web until a reload (opencloud-eu/web#4319).

Tested with a unit test for user and group shares (the group case fails without the fix).

@butonic
butonic merged commit 3d6f9e5 into main Nov 6, 2026
20 checks passed
@butonic
butonic deleted the fix/share-removed-grantee-group branch November 6, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants