nextcloud-server/apps/dav/tests/unit/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
..
DeleteCalendarTest.php
ListCalendarSharesTest.php fix(caldav): prevent unshare entry creation for owner unsharing 2025-06-01 16:39:43 +07:00
ListCalendarsTest.php chore: apply code style 2025-04-30 19:04:59 +07:00
MoveCalendarTest.php chore: apply code style 2025-04-30 19:04:59 +07:00
RemoveInvalidSharesTest.php