nextcloud-server/apps/dav/tests/unit
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
..
AppInfo chore: apply code style 2025-04-30 19:04:59 +07:00
Avatars chore: Add SPDX header 2024-05-28 14:41:28 +07:00
BackgroundJob fix(dav): move orphan cleaning logic to a chunked background job 2025-05-07 13:28:53 +07:00
CalDAV fix(caldav): prevent unshare entry creation for owner unsharing 2025-06-01 16:39:43 +07:00
CardDAV chore: apply code style 2025-04-30 19:04:59 +07:00
Command fix(caldav): prevent unshare entry creation for owner unsharing 2025-06-01 16:39:43 +07:00
Comments chore: apply code style 2025-04-30 19:04:59 +07:00
Connector chore: apply code style 2025-04-30 19:04:59 +07:00
Controller chore: apply code style 2025-04-30 19:04:59 +07:00
DAV fix(caldav): prevent unshare entry creation for owner unsharing 2025-06-01 16:39:43 +07:00
Direct chore: Add SPDX header 2024-05-28 14:41:28 +07:00
Files chore: apply code style 2025-04-30 19:04:59 +07:00
Listener chore: Add SPDX header 2024-05-28 14:41:28 +07:00
Migration chore: apply code style 2025-04-30 19:04:59 +07:00
Provisioning/Apple chore: apply code style 2025-04-30 19:04:59 +07:00
Search fix(TasksSearchProviderTest): adjust deep link to Tasks app 2025-01-24 22:26:27 +07:00
Service feat(dav): Add an API for upcoming events 2024-08-13 20:03:31 +07:00
Settings chore: apply code style 2025-04-30 19:04:59 +07:00
SystemTag chore: apply code style 2025-04-30 19:04:59 +07:00
Upload fix: improve assembly stream 2025-05-12 11:59:38 +07:00
CapabilitiesTest.php chore: apply code style 2025-04-30 19:04:59 +07:00
ServerTest.php chore: Add SPDX header 2024-05-28 14:41:28 +07:00
bootstrap.php chore: Add SPDX header 2024-05-28 14:41:28 +07:00
phpunit.xml chore: Add SPDX header 2024-05-28 14:41:28 +07:00