0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-05-20 13:10:13 +00:00
nextcloud_server/apps/dav/tests/unit/Command
Daniel Kesselberg c05d3fdb2e
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-14 09:03:32 +02:00
..
DeleteCalendarTest.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
ListAddressbooksTest.php chore(apps): Apply new rector configuration to autouse classes 2024-10-15 10:40:25 +02:00
ListCalendarSharesTest.php fix(caldav): prevent unshare entry creation for owner unsharing 2025-05-14 09:03:32 +02:00
ListCalendarsTest.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
MoveCalendarTest.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
RemoveInvalidSharesTest.php chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +01:00