nextcloud-server/apps/dav/lib/DAV
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
..
Sharing fix(caldav): prevent unshare entry creation for owner unsharing 2025-06-01 16:39:43 +07:00
CustomPropertiesBackend.php chore: apply code style 2025-04-30 19:04:59 +07:00
GroupPrincipalBackend.php fix: hide guests group from principal backend 2025-05-23 16:27:59 +07:00
PublicAuth.php chore: apply code style 2025-04-30 19:04:59 +07:00
SystemPrincipalBackend.php chore: Add SPDX header 2024-05-27 20:11:22 +07:00
ViewOnlyPlugin.php chore: apply code style 2025-04-30 19:04:59 +07:00