nextcloud/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 +02:00
..
AddressBookCreatedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
AddressBookDeletedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
AddressBookShareUpdatedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
AddressBookUpdatedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
BeforeFileDirectDownloadedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
CachedCalendarObjectCreatedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
CachedCalendarObjectDeletedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
CachedCalendarObjectUpdatedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
CalendarCreatedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
CalendarDeletedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
CalendarMovedToTrashEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
CalendarObjectCreatedEvent.php fix(caldav): Restore old private events and deprecate them 2025-03-31 10:26:23 -07:00
CalendarObjectDeletedEvent.php fix(caldav): Restore old private events and deprecate them 2025-03-31 10:26:23 -07:00
CalendarObjectMovedEvent.php fix(caldav): Restore old private events and deprecate them 2025-03-31 10:26:23 -07:00
CalendarObjectMovedToTrashEvent.php fix(caldav): Restore old private events and deprecate them 2025-03-31 10:26:23 -07:00
CalendarObjectRestoredEvent.php fix(caldav): Restore old private events and deprecate them 2025-03-31 10:26:23 -07:00
CalendarObjectUpdatedEvent.php fix(caldav): Restore old private events and deprecate them 2025-03-31 10:26:23 -07:00
CalendarPublishedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
CalendarRestoredEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
CalendarShareUpdatedEvent.php fix(caldav): prevent unshare entry creation for owner unsharing 2025-05-19 14:35:04 +02:00
CalendarUnpublishedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
CalendarUpdatedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
CardCreatedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
CardDeletedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
CardMovedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
CardUpdatedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
SabrePluginAddEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
SabrePluginAuthInitEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
SubscriptionCreatedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
SubscriptionDeletedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
SubscriptionUpdatedEvent.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00