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/lib/DAV/Sharing
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
..
Xml refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
Backend.php fix(caldav): prevent unshare entry creation for owner unsharing 2025-05-14 09:03:32 +02:00
IShareable.php chore: Add SPDX header 2024-05-27 20:11:22 +02:00
Plugin.php refactor: Use Http framework where possible 2024-12-14 11:23:29 +01:00
SharingMapper.php fix(caldav): prevent unshare entry creation for owner unsharing 2025-05-14 09:03:32 +02:00
SharingService.php fix(caldav): prevent unshare entry creation for owner unsharing 2025-05-14 09:03:32 +02:00