mirror of
https://github.com/nextcloud/server.git
synced 2026-11-26 16:15:53 +01:00
Calendar and address book shares only checked that the sharee exists. They now follow the same admin settings as the share dialog: the share API toggle, excluded groups, group sharing, and sharing with group members only together with its exclude list. Removing a share is always allowed. Scheduling to principal: URIs applies the group members restriction as mailto: already did. With the trash bin enabled, a deleted calendar kept its shares, and the share based lookups did not check deleted_at, so sharees and public links kept using the calendar until it was purged. Only the owner sees calendars in the trash bin now. Trashed objects are no longer served as children of their calendar, only through the trash bin, and only the owner can restore a deleted calendar. The system address book is meant to be read-only, but cards built for trusted servers had no ACL, its write-acl privilege allowed sharing it, and property changes updated its shared row. Cards now get the read-only ACL, sharing it is refused and existing share rows are ignored, and properties are stored per account. Its sync applies the same enumeration filter as listing it. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>