nextcloud-server/apps/dav/tests/unit/Command
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
..
DeleteCalendarTest.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +07:00
ListAddressbooksTest.php chore(apps): Apply new rector configuration to autouse classes 2024-10-15 10:40:25 +07:00
ListCalendarSharesTest.php fix(caldav): prevent unshare entry creation for owner unsharing 2025-05-19 14:35:04 +07:00
ListCalendarsTest.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
MoveCalendarTest.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
RemoveInvalidSharesTest.php