Skip to content

fix: keep shared with me items that are still shared through another share - #4339

Merged
AlexAndBear merged 4 commits into
mainfrom
fix/group-share-removed-live
Nov 13, 2026
Merged

AlexAndBear merged 4 commits into
mainfrom
fix/group-share-removed-live

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Description

  • Shared with me: when one of your shares of an item is removed, the item now only disappears if it isn't shared with you anymore, e.g. it stays when the direct share goes but a group share remains.
  • Group shares: a removed group share now disappears for the group members when the event reaches them. That it mostly doesn't reach them yet is a server bug, fixed in fix(eventsmiddleware): read the grantee group of removed shares into the group id reva#981.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: share removed handler keeps listed items that are still shared and removes them otherwise (direct, group, other user, guest)
  • test case 2: browser: direct + group share with the direct one removed (stays), direct only (gone), group only (gone whenever the event arrives), group removed while direct remains (stays), another user's share removed (stays)

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear enabled auto-merge (squash) November 13, 2026 07:03
@AlexAndBear
AlexAndBear merged commit bff7356 into main Nov 13, 2026
28 checks passed
@AlexAndBear
AlexAndBear deleted the fix/group-share-removed-live branch November 13, 2026 07:08
@openclouders openclouders mentioned this pull request Nov 13, 2026
1 task
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.

2 participants