nextcloud-server/apps/dav/lib/Events
Daniel Kesselberg eab2c5cbee fix(caldav): prevent unshare entry creation for owner unsharing
- Introduces a `unshare` method in `CalDavBackend` to handle user unshares.
- Implements check to determine if unshare entry is needed based on group/circle membership.
- Ensures `updateShares` is only used when the calendar owner manages shares.
- Resolves issue where unsharing a calendar as owner created an unshare entry in `oc_dav_shares`.

Related PRs:
- https://github.com/nextcloud/server/pull/43117
- https://github.com/nextcloud/server/pull/47737

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-19 14:35:04 +07:00
..
AddressBookCreatedEvent.php
AddressBookDeletedEvent.php
AddressBookShareUpdatedEvent.php
AddressBookUpdatedEvent.php
BeforeFileDirectDownloadedEvent.php
CachedCalendarObjectCreatedEvent.php
CachedCalendarObjectDeletedEvent.php
CachedCalendarObjectUpdatedEvent.php
CalendarCreatedEvent.php
CalendarDeletedEvent.php
CalendarMovedToTrashEvent.php
CalendarObjectCreatedEvent.php
CalendarObjectDeletedEvent.php
CalendarObjectMovedEvent.php
CalendarObjectMovedToTrashEvent.php
CalendarObjectRestoredEvent.php
CalendarObjectUpdatedEvent.php
CalendarPublishedEvent.php
CalendarRestoredEvent.php
CalendarShareUpdatedEvent.php fix(caldav): prevent unshare entry creation for owner unsharing 2025-05-19 14:35:04 +07:00
CalendarUnpublishedEvent.php
CalendarUpdatedEvent.php
CardCreatedEvent.php
CardDeletedEvent.php
CardMovedEvent.php
CardUpdatedEvent.php
SabrePluginAddEvent.php
SabrePluginAuthInitEvent.php
SubscriptionCreatedEvent.php
SubscriptionDeletedEvent.php
SubscriptionUpdatedEvent.php