Conversation
Writes into another user's calendar, such as iTIP delivery, replies or edits in a shared calendar, recorded that calendar's sharees and attendees as recently contacted by the writer. Only writes to the writer's own calendars record interactions now. Deleting an event purged invitation response links by UID alone, so deleting any copy of an event, for example an attendee's, also removed the organizer's links. Purges now only match invitations sent by the calendar owner, and only for regular calendars. An attendee's response links also stayed valid after the organizer removed them, and replying through one added them back to the event. Cancelling an attendee now revokes their links. Additional email addresses counted as calendar user addresses even before they were verified. Only verified ones count now. In the provisioning API, editUserMultiValue() treated users editing their own account like an admin edit and stored the new address as verified, looked the new address up by the old value, and accepted duplicates. Not included: attendees removed occurrence by occurrence keep the links of earlier occurrences, and invitations have no column linking them to their calendar, which would make purges exact. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
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>
GVodyanov
requested review from
SebastianKrupinski,
hamza221,
st3iny and
tcitworld
as code owners
November 30, 2026 11:03
GVodyanov
requested review from
CarlSchwan,
ChristophWurst,
DerDreschner and
leftybournes
and removed request for
a team
November 30, 2026 11:03
ChristophWurst
approved these changes
Nov 30, 2026
DerDreschner
approved these changes
Nov 30, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #67006
Builds on #67192, please merge that one first. Until then, this diff also shows its commit.
Changes for this branch:
SystemAddressbookstill reads the enumeration settings fromIConfighere and doesn't have the later group-membership filtering of cards. The same changes are applied to this structure: federated cards get the read-only ACL, sync changes of the local address book are filtered with the same rules as its cards (newfilterCardUrisForSessionUser()), sharing is rejected, its own properties aren't changed, andwrite-aclis dropped from its ACL. Like the existing code in this class, the new helper usesIConfig::getAppValue(), so the Psalm baseline gets the matching entries. The tests are written for this structure.FederatedCalendarextendsCalendaron this branch, so it gets the trash bin check throughCalendar;FederatedCalendarTestdoesn't exist here.IShareManager::shareWithGroupMembersOnlyExcludeGroupsList()has no return type here, so the principal tests that reach it stub it.Assisted by ClaudeCode:claude-opus-5-5