feat(caldav): allow attendees to add guests to an event - #63167
Open
kesselb wants to merge 1 commit into
Open
Conversation
kesselb
requested review from
a team,
ChristophWurst,
SebastianKrupinski and
tcitworld
as code owners
August 11, 2026 19:24
kesselb
requested review from
Altahrim,
leftybournes,
provokateurin and
salmart-dev
and removed request for
a team
August 11, 2026 19:24
1 task
Organizers can set X-NC-ALLOW-ATTENDEE-GUESTS to let attendees invite further people. Their reply reports the guests back as X-NC-ADD-GUEST, and the organizer's copy picks them up as regular attendees. Assisted-by: ClaudeCode:claude-opus-5 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
kesselb
force-pushed
the
invitation-forwarding-by-attendee
branch
from
August 11, 2026 19:33
7e9e305 to
46b3fa7
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Adds CalDAV support for organizer-authorized attendee guests.
Changes:
- Advertises attendee guest capability and registers the new property.
- Reports and processes attendee-added guests while preserving pending RSVP state.
- Adds unit coverage for capabilities and scheduling behavior.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
apps/dav/lib/AppInfo/Application.php |
Registers the guest permission property. |
apps/dav/lib/CalDAV/TipBroker.php |
Implements guest scheduling and RSVP handling. |
apps/dav/lib/Capabilities.php |
Advertises guest support. |
apps/dav/tests/unit/CalDAV/TipBrokerTest.php |
Tests scheduling behavior. |
apps/dav/tests/unit/CapabilitiesTest.php |
Tests capability output. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+149
to
+153
| if ($instances[$recurId] !== 'NEEDS-ACTION') { | ||
| // A reply leaving the attendee at NEEDS-ACTION, for | ||
| // example one only forwarding the invitation, is not | ||
| // an answer, so keep asking for one. | ||
| unset($attendee['RSVP']); |
| if ($commonName !== null) { | ||
| $parameters['CN'] = $commonName; | ||
| } | ||
| $vevent->add('ATTENDEE', $href, $parameters); |
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.
Summary
UI nextcloud/calendar#8719
Organizers can set X-NC-ALLOW-ATTENDEE-GUESTS to let attendees invite further people. Their reply reports the guests back as X-NC-ADD-GUEST, and the organizer's copy picks them up as regular attendees.
Notes
Test cases
Checklist
3. to review, feature component)stable32)AI (if applicable)