feat: allow attendees to add guests to an event - #8719
Open
kesselb wants to merge 1 commit into
Open
Conversation
Organizers get a setting to let attendees of an event invite further people. Attendees can then add guests even though the event is otherwise read-only for them, and remove them again until the event is saved. The server reports guests off the base instance only, so the option needs the dav attendee_guests capability and is hidden for recurring events. Assisted-by: ClaudeCode:claude-opus-5 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
kesselb
requested
a balanced review from Copilot
and removed request for
GVodyanov,
SebastianKrupinski and
tcitworld
August 11, 2026 19:28
14 tasks
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Pull request overview
Adds attendee-managed guest invitations, gated by the dependent server capability.
Changes:
- Adds the organizer setting and event-property persistence.
- Allows attendees to add and temporarily remove guests.
- Adds capability and eligibility tests.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
src/components/Editor/Invitees/InviteesList.vue |
Enables guest management. |
src/components/Editor/Invitees/InviteesListItem.vue |
Adds temporary guest removal. |
src/mixins/EditorMixin.js |
Computes guest-invitation eligibility. |
src/mixins/PropertyMixin.js |
Registers the setting icon. |
src/models/event.js |
Maps the new event property. |
src/store/calendarObjectInstance.js |
Updates the persisted property. |
src/views/EditFull.vue |
Adds setting and guest controls. |
src/views/EditSimple.vue |
Enables guest controls. |
tests/javascript/unit/mixins/EditorMixin.test.js |
Tests eligibility rules. |
tests/javascript/unit/models/event.test.js |
Updates model expectations. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+452
to
+456
| isForwardedByMe(attendee) { | ||
| // Not once the editor switched to viewing, because the guest reached | ||
| // the organizer by then and only they can remove an attendee | ||
| return this.canAddGuests | ||
| && this.forwardedAttendees.includes(removeMailtoPrefix(attendee.uri)) |
| :value="invitationForwarding" | ||
| @update:value="updateInvitationForwarding" /> | ||
| <PropertySelect | ||
| v-if="showAllowAttendeeGuests" |
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.
Needs nextcloud/server#63167
Organizers get a setting to let attendees of an event invite further people. Attendees can then add guests even though the event is otherwise read-only for them, and remove them again until the event is saved.
The server reports guests off the base instance only, so the option needs the dav attendee_guests capability and is hidden for recurring events.
🤖 AI (if applicable)