nextcloud-server/apps/dav/lib/Command
Daniel Kesselberg d0871f6cdc
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-06-01 16:39:43 +07:00
..
ClearCalendarUnshares.php fix(caldav): prevent unshare entry creation for owner unsharing 2025-06-01 16:39:43 +07:00
ClearContactsPhotoCache.php feat: add command to clear contacts photo cache 2025-05-20 17:07:48 +07:00
CreateAddressBook.php chore: apply code style 2025-04-30 19:04:59 +07:00
CreateCalendar.php chore: Add SPDX header 2024-05-27 20:11:22 +07:00
DeleteCalendar.php chore: apply code style 2025-04-30 19:04:59 +07:00
FixCalendarSyncCommand.php chore: apply code style 2025-04-30 19:04:59 +07:00
ListCalendarShares.php fix(caldav): prevent unshare entry creation for owner unsharing 2025-06-01 16:39:43 +07:00
ListCalendars.php chore: apply code style 2025-04-30 19:04:59 +07:00
MoveCalendar.php chore: apply code style 2025-04-30 19:04:59 +07:00
RemoveInvalidShares.php chore: Add SPDX header 2024-05-27 20:11:22 +07:00
RetentionCleanupCommand.php chore: Add SPDX header 2024-05-27 20:11:22 +07:00
SendEventReminders.php chore: apply code style 2025-04-30 19:04:59 +07:00
SyncBirthdayCalendar.php chore: apply code style 2025-04-30 19:04:59 +07:00
SyncSystemAddressBook.php chore: Add SPDX header 2024-05-27 20:11:22 +07:00